找回停掉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/

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM