Error trying to run or push image on Mac

I’ve run into an issue with a data container I’ve created for PostgreSQL. The image is listed with a virtual size of 3.65GB and when pushing the image I receive the error:

Failed to generate layer archive: write /mnt/sda1/var/lib/docker/graph/_tmp/e29eeaeac3f0cb59bdd150bfaebbbc251e0307c4eaf373fd7af1ff1c95aeefd0/523533887: no space left on device

I have deleted all unnecessary images and only have two now that total around 4G. When I attempt to run the image I receive the error:

Error response from daemon: Insertion failed because database is full: database or disk is full

My hard drive is not full and I have plenty of space. Any ideas what is going on?

Thanks!

I’m going to presume you’re using Boot2Docker - can you tell me what
boot2docker ssh df -h tells you?

please note that you need space on the Virtual machine’s virtual disk - which defaults to 20GB.

It does show that all of /dev/sda1 is 100% utilized. How do I clean that up?

Filesystem Size Used Available Use% Mounted on
rootfs 899.7M 204.9M 694.8M 23% /
tmpfs 899.7M 204.9M 694.8M 23% /
tmpfs 499.8M 0 499.8M 0% /dev/shm
/dev/sda1 18.2G 18.2G 0 100% /mnt/sda1
cgroup 499.8M 0 499.8M 0% /sys/fs/cgroup
none 237.7G 182.6G 55.1G 77% /Users
/dev/sda1 18.2G 18.2G 0 100% /mnt/sda1/var/lib/docker/aufs

mmm, and what does docker info tell you? do you have lots of images / containers still?

https://github.com/docker/docker/pull/7749 might be interesting to you if you want to keep the images you have :slight_smile:

I just decided to nuke the image and start over. I have everything working now. Thanks for your help!