Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Add or remove published service ports of an existing service

docker service update 
  --publish-add published=8080,target=80 
  myservice
Source by docs.docker.com #
 
PREVIOUS NEXT
Tagged: #Add #remove #published #service #ports #existing #service
ADD COMMENT
Topic
Name
3+6 =