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