In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you what swarm cluster commands are commonly used in docker, which are concise and easy to understand, which can definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Get the mananer node token command docker swarm join-token manager2. Get the worker node token command docker swarm join-token worker 3. Get the command docker network ls 4. 0 for cluster network. Delete cluster network command docker network rm network name 5. Check out stackdocker stack ls6. Delete stack (all the following services will be deleted) docker stack rm stack name 7. The command docker stack ps stack name docker stack services stack name 8. 0 to see which services are in a stack. View the command docker service ls 9. 0 for all the services in the cluster. View the command for a service docker service ps service name 10. View the log of a service docker service logs-f-- tail=100 service name / / this command views the logs of all nodes of the current service in the cluster, which is different from docker logs-f-- tail=100 container name / / this command views the log of the current container 11. Delete service command docker service rm service name 12. Check the details of a service command docker service inspect service name these are the commonly used swarm cluster commands in docker, have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.