Zulip Docker Installation Error

Published by

on

I encountered the following error message while I was installing zulip docker.

It complaints that there is not enough space.

Zulip development environment setup succeeded!
ERROR: Service ‘zulip’ failed to build: Error processing tar file(exit status 1): write /usr/share/icons/Humanity/status/22/gsm-3g-medium-secure.svg: no space left on device

As you can see that from the following that /var directory is 100% full.

root@odhmattermost:/var/lib/docker/overlay2# du -d1 -h /var/lib/docker | sort -hr
5.3G /var/lib/docker/overlay2
5.3G /var/lib/docker
3.3M /var/lib/docker/image
92K /var/lib/docker/buildkit
56K /var/lib/docker/network
40K /var/lib/docker/containers
28K /var/lib/docker/volumes
16K /var/lib/docker/plugins
4.0K /var/lib/docker/trust
4.0K /var/lib/docker/tmp
4.0K /var/lib/docker/swarm
4.0K /var/lib/docker/runtimes
root@odhmattermost:/var/lib/docker/overlay2#

root@odhmattermost:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 796M 1.6M 795M 1% /run
/dev/mapper/lvg_ubuntu-lv_root 23G 4.6G 18G 22% /
tmpfs 3.9G 124K 3.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/lvg_ubuntu-lv_usrlocal 23G 229M 22G 2% /usr/local
/dev/mapper/lvg_ubuntu-lv_home 9.2G 49M 8.6G 1% /home
/dev/mapper/lvg_ubuntu-lv_opt 14G 1.2G 12G 9% /opt
/dev/mapper/lvg_ubuntu-lv_var 14G 14G 0 100% /var
/dev/mapper/lvg_ubuntu-lv_tmp 14G 41M 13G 1% /tmp
/dev/mapper/lvg_ubuntu-lv_logs 14G 4.4G 8.7G 34% /var/log
/dev/sda1 922M 303M 556M 36% /boot
/dev/mapper/lvg_ubuntu-lv_share 4.6G 19M 4.3G 1% /var/share
tmpfs 796M 0 796M 0% /run/user/1005
overlay 14G 14G 0 100% /var/lib/docker/overlay2/0d5a5e9a43afaad84dda7443116c420930af30ad0944f4e015318a3dc7e794e9/merged

Solution that I found online is

# docker image prune –all

or

# docker image prune -a

I also tried to delete docker under /var/lib

by issuing the following commend

# systemctl stop docker

# rm -rf /var/lib/docker

# systemctl start docker

But I still couldn’t resolve no space issues.

 

Source:

https://stackoverflow.com/questions/42784396/docker-error-error-processing-tar-fileexit-status-1-unexpected-eof

https://letscodepare.com/blog/how-to-fix-no-error-space-left-on-device-in-docker