In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Let's take a look at the self-start and stop command for restarting docker service. The details are as follows:
# restart docker service application, do not automatically open docker container docker update-- restart=no (docker container CONTAINER ID or docekr container NAMES) # restart docker service application, automatically open docker container docker update-restart=always (docker container CONTAINER ID or docekr container NAMES)
Ps: start the Docker command after the server is restarted
Startup steps:
1. Start the Docker daemon
Systemctl daemon-reload
2. Docker startup command:
Systemctl start docker
3. Check whether the docker service is started.
Ps-ef | grep docker
4. View the services started by docker:
Docker ps
Other:
Restart the docker service
Systemctl restart docker
Stop the docker service
Systemctl stop docker
Summary
The above is the self-start and stop command to restart the docker service application introduced by the editor. I hope it will be helpful to you. If you have any questions, you are welcome to leave a message and the editor will reply to you in time!
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.