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

而後在這些目錄下, 找回當時文件, 重點關注 那個UpperDir, 可能沒有權限 須要sudo rest

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

相關文章
相關標籤/搜索