Docker Community Forums

Share and learn in the Docker community.

Phantom no space left on device error

Hi,

I’m encountering a strange error that I can’t get to the bottom of. I have a container with two volumes mounted. After writing 20+GB of data to one of the volumes, I’m getting ‘No space left on device errors’. I tried the usual suspects of:

  • Checking the docker disk image had sufficient space - it does: ‘Disk image size: 64 GB (29.7 GB used)’
  • Pruning all other images/volumes using ‘docker system prune -a’.
  • Checking host volumes for sufficient space - I have >120GB free space.

Any pointers on something I’m missing would be fantastic, at the moment I can’t fathom where the disk-space restriction is :-/

More details below,
Alan

Technical details:

  • MacOS Catalina 10.15.7 (19H1030)
  • Docker Desktop for Mac 3.3.3

In container info:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay          63G   28G   33G  47% /
tmpfs            64M     0   64M   0% /dev
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
shm              64M     0   64M   0% /dev/shm
/dev/vda1        63G   28G   33G  47% /vscode
grpcfuse        234G   98G  119G  46% /home/vscode/.ssh
overlay         3.9G  320K  3.9G   1% /run/docker.sock
tmpfs           3.9G     0  3.9G   0% /proc/acpi
tmpfs           3.9G     0  3.9G   0% /sys/firmware
$ mount | grep vda1
/dev/vda1 on /workspaces type ext4 (rw,relatime)
/dev/vda1 on /vscode type ext4 (rw,relatime)
/dev/vda1 on /etc/resolv.conf type ext4 (rw,relatime)
/dev/vda1 on /etc/hostname type ext4 (rw,relatime)
/dev/vda1 on /etc/hosts type ext4 (rw,relatime)
/dev/vda1 on /home/vscode/.cache type ext4 (rw,relatime)

Host info:

 $ df -h
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1   233Gi   10Gi  118Gi     9%  488272 2447613048    0%   /
devfs          224Ki  224Ki    0Bi   100%     775          0  100%   /dev
/dev/disk1s5   233Gi   98Gi  118Gi    46% 7272986 2440828334    0%   /System/Volumes/Data
/dev/disk1s4   233Gi  6.3Gi  118Gi     6%       6 2448101314    0%   /private/var/vm
map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /System/Volumes/Data/home
/dev/disk1s3   233Gi  504Mi  118Gi     1%      54 2448101266    0%   /Volumes/Recovery

(edit: fix formatting)