一些在这个阶段探索的命令:

**[terminal]    
docker stack ls                                            # List stacks or apps
docker stack deploy -c <composefile> <appname>  # Run the specified Compose file
docker service ls                 # List running services associated with an app
docker service ps <service>                  # List tasks associated with an app
docker inspect <task or container>                   # Inspect task or container
docker container ls -q                                      # List container IDs
docker stack rm <appname>                             # Tear down an application
docker swarm leave --force      # Take down a single node swarm from the manager
Copyright © I-Vectors.com 2017 all right reserved,powered by Gitbook该文件修订时间: 2017-12-22 10:41:01

results matching ""

    No results matching ""