VeryNginx
VeryNginx copied to clipboard
如何挂在目录卷?
[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
报错如下: [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.