Home >Operation and Maintenance >Docker >What to do if the docker container fails to restart
1、查看docker占用的挂载点
cat /proc/mounts | grep "mapper/docker" | awk '{print $2}'
2、手动umount卸载占用的挂载点
3、再次启动
docker ps -aq | xargs -I {} docker start {}
推荐教程: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!