Move docker on another disk on OMV
- Stop the docker daemon (and all containers with it) systemctl stop docker
-
Copy all old docker contents to new location keeping permissions and possible hard links and be verbose about what it is doingrsync -aHv /var/lib/dockerĀ /srv/dev-disk-by-id-usb-WDC_WD10_EARS-00Y5B1_152D00539000-0-0-part2/omv/docker
- Uninstall docker
- change the docker location in the OMV UI
- install docker with the path changed and saved.
- SAVE
- Restart the docker daemon in the OMV UI (will restart containers as well)
- Check if all your containers are running as expected
- remove /var/lib/docker