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
Docker Service启动时挂载docker命令
猜你喜欢
转载自www.cnblogs.com/nihaorz/p/12766567.html
今日推荐
周排行