Docker info server version: 1.10.3
Operating System: Boot2Docker 1.10.3
Windows: 7
Working with somewhat big images, I started receiving disk space errors when running docker build ("no space left on device" when executing ADD, etc.). Although my images are big, I knew they're not that big to fill the default 20GB Docker Machine Virtual Box VM disk (located in C:\Users\[User]\.docker\machine\machines\default), so before resizing its VirtualBox vmdk file, I started looking around.
I ssh'ed to the docker-machine host:
docker-machine.exe ssh
Tracing the wasted disk space (df -k, du -sh *,...) I ended up in the /mnt/sda1/var/lib/docker/tmp directory.
(note: the screenshots doesn't reflect the actual disk space in the problem's instant).
I deleted the folders, re ran the builds and they finished without space problems.
What caused docker not removing those temporary directories automatically? Maybe some Ctrl-C's I did when just "Sending build context to Docker daemon..." or interrupted builds?
No hay comentarios:
Publicar un comentario