Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container misses /tmp #50

Closed
h3ssto opened this issue Jan 30, 2025 · 0 comments · Fixed by #51
Closed

Docker container misses /tmp #50

h3ssto opened this issue Jan 30, 2025 · 0 comments · Fixed by #51
Assignees
Labels
bug Something isn't working

Comments

@h3ssto
Copy link

h3ssto commented Jan 30, 2025

Thanks to @uulm-janbaudisch, I was pointed towards https://github.com/SoftVarE-Group/d-dnnf-reasoner/pkgs/container/ddnnife.

However, following the documentation, namely

  • docker pull ghcr.io/softvare-group/ddnnife:heuristics-command-amd64
  • docker run -v <local/directory>:/work ddnnife:main /work/<file.ddnnf> count

yields a confusing error

thread 'main' panicked at /build/8hcf3cvbaincxaykvk6jy30xad24y7g8-source/ddnnife/src/parser.rs:81:34:
Failed to create temporary d-DNNF file.: Custom { kind: NotFound, error: PathError { path: "/tmp/.tmpnPGxOj", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Apparently, the /tmp directory ist not created within the container. However, running:
docker run -v <some_dir>:/tmp -v <local/directory>:/work ddnnife:main /work/<file.ddnnf> count works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants