Add a published port to an existing service.
Section: Swarm Services
Publish a new port
bash
bash
docker service update --publish-add 8443:443 webExplanation
Useful for incremental service exposure changes.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Swarm Services