Hello,
Since I miss some space on my server and 47Gb out of 80Gb of the HD are used by docker, I follow this instructions to move docker to an external storage : https://docs.cloudron.io/storage/
Everything went well since I reboot the server : the tail -f /home/yellowtent/platformdata/logs/box.log
command shows an error saying that docker was unable to start :
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2024-01-01T19:40:23.326Z box:platform Error: Command failed: docker network create --subnet=172.18.0.0/16 --ip-range=172.18.0.0/20 --gateway 172.18.0.1 --ipv6 --subnet=fd00:c107:d509::/64 cloudron
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
at ChildProcess.exithandler (node:child_process:419:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
My /etc/systemd/system/docker.service.d/custom.conf
file contains the following code
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// --log-driver=journald --exec-opt native.cgroupdriver=cgroupfs --storage-driver=overlay2 --data-root=/mnt/external/docker --experimental --ip6tables
/mnt/external is mounted at startup through the following command: rclone --allow-non-empty --allow-other --config /root/.config/rclone/rclone.conf mount Hetzner: /mnt/external
Is somebody able to explain me what I am doing wrong ?