What to do if the docker container fails to restart

王林
Release: 2020-03-25 18:05:10
Original
3586 people have browsed it

What to do if the docker container fails to restart

1、查看docker占用的挂载点

cat /proc/mounts | grep "mapper/docker" | awk '{print $2}'
Copy after login

2、手动umount卸载占用的挂载点

3、再次启动

docker ps -aq | xargs -I {} docker start {}
Copy after login

推荐教程:docker教程

The above is the detailed content of What to do if the docker container fails to restart. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template