我正在研究这本书Docker in action
,并尝试使用 Docker。
当我运行以下命令时:
docker run --name export-test \
dockerinaction/ch7_packed:latest ./echo For Export
docker export --output contents.tar export-test
docker rm export-test
tar -tf contents.tar
the console returns me:
我收到以下错误消息:
Error response from daemon: OCI runtime create failed:
container_linux.go:348: starting container process caused "exec:
\"/bin/bash\": stat /bin/bash: no such file or directory": unknown.
我试图找到一种解决方案,但找不到有效的解决方案。我已经重启了Docker
还是不行!