$> /var/lib/docker/devicemapper/devicemapper
這個文件已經(jīng)6個 G 了. 請問有什么辦法清空一下嗎?
硬盤本來就不大.
認證高級PHP講師
I found that it’s just a matter of putting the container content and pointers on another disk.
Theoretically, the one that takes up the most space should be aufs.
You can delete the image through docker rmi
And docker rm deletes the container to clean it up.
Use -v to map volumes when starting up. Don’t forget to delete -v when deleting the container