Proxmox – move the docker storage folder to another disk

Edit : /lib/systemd/system/docker.service

FROM:
ExecStart=/usr/bin/dockerd -H fd:// 
TO:
ExecStart=/usr/bin/dockerd -g /mnt/pve/VMspaceSDD/dockerd -H fd:// 

after:

systemctl stop docker

check that it stopped :

ps aux | grep -i docker | grep -v grep

if stopped, than:

systemctl daemon-reload
rsync -aqxP /var/lib/docker/ /mnt/pve/VMspaceSDD/dockerd
systemctl start docker

check it started & that is running in the new location:

ps aux | grep -i docker | grep -v grep