Java字符串拼接原理

时间:2025-02-21 13:05:35
Docker部署Nginx

七分小魔女: root@educoder:~# docker run -id --name=c_nginx -p 80:80 -v $PWD/conf/:/etc/nginx/ -v $PWD/logs:/var/log/nginx -v $PWD/html:/usr/share/nginx/html nginx f8c52f49fb2b8665b5e660fba352832ec4a6f66aeced2a5686504a35329bee69 docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/root/conf/\\\" to rootfs \\\"/var/lib/docker/vfs/dir/02fd50ba4401b30dcfa04600b1a53645968d58bdddec2e6b7e285d7cf1b23240\\\" at \\\"/var/lib/docker/vfs/dir/02fd50ba4401b30dcfa04600b1a53645968d58bdddec2e6b7e285d7cf1b23240/etc/nginx/\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.报这个错误