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 is read only #1023

Closed
weaversa opened this issue Jan 20, 2021 · 1 comment
Closed

docker container is read only #1023

weaversa opened this issue Jan 20, 2021 · 1 comment

Comments

@weaversa
Copy link
Contributor

Just something to consider...

sawscript> prove w4_abc_verilog {{ \k -> \pt -> decrypt k (encrypt k pt) == pt }}

/tmp: openTempFile: permission denied (Read-only file system)
@weaversa
Copy link
Contributor Author

Here's a docker command string (for unix-based systems) that lets saw act (pretty much) like it does if you run it natively.

docker pull galoisinc/saw:nightly
docker run --rm -it --read-only --mount type=bind,src=$HOME,dst=$HOME --workdir=$(pwd) --user=$(id -u):$(id -g) --env CRYPTOLPATH=$(pwd) galoisinc/saw:nightly $*

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

1 participant