docker stack的简单命令
1.部署
docker stack deploy example --compose-file=docker-compose.yml
2.查看
docker stack ls
docker stack ps zk
用一个例子来演示会更加清晰
1.部署
docker stack deploy example --compose-file=docker-compose.yml
2.查看
docker stack ls
docker stack ps zk