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

如何挂在目录卷? #229

Open
kevinsingapore opened this issue Jul 5, 2019 · 1 comment
Open

如何挂在目录卷? #229

kevinsingapore opened this issue Jul 5, 2019 · 1 comment

Comments

@kevinsingapore
Copy link

[root@waf VeryNginx]# cat -n install-verynginx.sh 1 #!/usr/bin/bash 2 3 docker run -d \ 4 --name=verynginx \ 5 -p 8080:80 \ 6 -v /opt/verynginx/:/opt/verynginx/ \ 7 --restart=always \ 8 verynginx

@kevinsingapore
Copy link
Author

报错如下:
[root@waf VeryNginx]# bash install-verynginx.sh
d5dbe27de12ca5d51685a9c29cec4cf0fc073f353cfae7c8d26adf2ec69da809
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/opt/verynginx/openresty/nginx/sbin/nginx": stat /opt/verynginx/openresty/nginx/sbin/nginx: no such file or directory": unknown.

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