0

I tried to execute the following command in Ubuntu 16.04.5 LTS.

sudo docker run --entrypoint /bin/pwd -v $PWD:/solidity ethereum/solc:0.5.0

The error shown below happened.

docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/bin/pwd\": stat /bin/pwd: no such file or directory": unknown.

But the solidity of version 0.4.25 worked well when I executed the following command.

sudo docker run --entrypoint /bin/pwd -v $PWD:/solidity ethereum/solc:0.4.25

It outputted the following result.

/solidity

So how can I solve this problem? I am not familiar with docker. Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.