Created
June 13, 2017 16:05
-
-
Save jancajthaml/e9ce9314c1a0a03998fa04dd3dabbfe8 to your computer and use it in GitHub Desktop.
fix docker for mac leaking image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install qemu | |
cd ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux | |
mv Docker.qcow2 Docker.qcow2.original | |
qemu-img convert -O qcow2 Docker.qcow2.original Docker.qcow2 | |
rm Docker.qcow2.original | |
du -hs Docker.qcow2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment