docker 修改已经存在的service的CPU 以及memory

sudo docker service update artifactory_daeartifactory --reserve-cpu=4 --reserve-memory=4G

https://docs.docker.com/engine/reference/commandline/update/

https://docs.docker.com/engine/reference/commandline/service/

https://docs.docker.com/engine/reference/commandline/service_create/

上一篇:skills_git


下一篇:对于docker的报错:invalid reference format解决方法