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

SAW 0.5 Docker container can't accept input files #807

Closed
weaversa opened this issue Aug 9, 2020 · 2 comments
Closed

SAW 0.5 Docker container can't accept input files #807

weaversa opened this issue Aug 9, 2020 · 2 comments

Comments

@weaversa
Copy link
Contributor

weaversa commented Aug 9, 2020

$ saw bittwiddling.saw
[17:57:58.971] Loading file "[redacted]bittwiddling.saw"
[17:57:58.971] [redacted]bittwiddling.saw: openFile: does not exist (No such file or directory)
@atomb
Copy link
Contributor

atomb commented Aug 26, 2020

Could you provide some more context? Have you added that file to the Docker container, or mounted a local directory within it?

@weaversa
Copy link
Contributor Author

Oh you're right. It seemed to work in Cryptol because I had this fancy command:

docker run --rm -it --read-only --mount type=bind,src=/home,dst=/home --env CRYPTOLPATH=$(pwd) galoisinc/cryptol:nightly +RTS -N -RTS --no-unicode-logo $*

But, I had forgotten to add all that when running the saw docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants