docker service create \ --name my-web \ --publish 9999:80 \ --replicas 2 \ nginx. 容器内部监听端口80,发布到swarm node的端口是8080。
確定! 回上一頁