In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How to troubleshoot and repair when docker container service stops? In the process of using the container, if the service cannot be used, you need to troubleshoot the errors in the container and repair the operation.
1. Docker ps-a queries the status of the startup container instance, and first determines whether the container is started.
2. Docker port view the port. If it is a rest interface, you can manually simulate the parameter call, but do not test the RPC interface.
3. Docker logs checks the business log to determine whether it is a business exception.
4. Generally speaking, docker is a micro-service, so you can see the monitoring information of the micro-service monitoring center.
5. If it is better to have a call chain like Zipkin, you can see the call information of the business process.
For example, docker error troubleshooting: if you cannot enter the container, you can enter the self-built centos7 base, but you cannot enter the mysql distributed by rancher.
# docker exec-it 3c1d bashrpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:110: decoding init error from pipe caused\" read parent: connection reset by peer\ ""
The reason for the error is that the new version 1.13.1-84 can be used normally if it is reduced to 1.13.1-75.
The container cloud is based on docker technology, which is powerful and easy to use. It deploys container services on cluster servers and has tens of thousands of Linux images. It can be used as a cluster service easily, and VPC can be built freely and easily.
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.