Docker Service启动时挂载docker命令
时间:2020-04-24 13:35:45
收藏:0
阅读:312
docker service create --name tomcat -p 8080 --mount type=bind,src=/usr/bin/docker,dst=/usr/bin/docker,readonly --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock,readonly --mount type=bind,src=/usr/lib64/libltdl.so.71,dst=/usr/lib64/libltdl.so.71,readonly develop-harbor.geostar.com.cn/base/apache-tomcat:8.5.51-8u231
原文:https://www.cnblogs.com/nihaorz/p/12766567.html
评论(0)