找回停掉docker的文件

如果容器还能重启,就restart, 如果状态是DEAD的话,
Error response from daemon: Container is marked for removal and cannot be started. 
Error response from daemon: Cannot restart container eaa7b3b95d50: Container is marked for removal and cannot be started.

 

docker inspect dockerid | grep overlay

然后在这些目录下, 找回当时文件, 重点关注 那个UpperDir, 可能没有权限 需要sudo 

https://www.atjiang.com/manage-data-in-docker-containers/

 
posted on 2018-12-04 14:57  阿笨猫  阅读(3181)  评论(0编辑  收藏  举报