I am running Mac-native Docker (without virtual boxing / docker machine).
I have a huge image with a lot of infrastructure in it (Postgres, etc.). I have cleaning scripts to get rid of a lot of cracks - unused images, etc.
When I launch my image, I get an error message:
could not create directory "/var/lib/postgresql/data/pg_xlog": No space left on device
On my host, Mac / var is at 60% available space, and usually there is a lot of free space on my disk.
Is this some kind of Docker configuration, do I need to raise it to give it more resources?
Relevant lines from mount
inside docker:
none on / type aufs (rw,relatime,si=5b19fc7476f7db86,dio,dirperm1) /dev/vda1 on /data type ext4 (rw,relatime,data=ordered) /dev/vda1 on /etc/resolv.conf type ext4 (rw,relatime,data=ordered) /dev/vda1 on /etc/hostname type ext4 (rw,relatime,data=ordered) /dev/vda1 on /etc/hosts type ext4 (rw,relatime,data=ordered) /dev/vda1 on /var/lib/postgresql/data type ext4 (rw,relatime,data=ordered)
Heres df
:
[11:14] Filesystem 1K-blocks Used Available Use% Mounted on none 202054928 4333016 187269304 3% / tmpfs 1022788 0 1022788 0% /dev tmpfs 1022788 0 1022788 0% /sys/fs/cgroup /dev/vda1 202054928 4333016 187269304 3% /data shm 65536 4 65532 1% /dev/shm tmpfs 204560 284 204276 1% /run/docker.sock