Stop Docker Service
service docker stop
Copy all the things!
mkdir /pods/docker_data
rsync -avh --progress /var/lib/docker/ /pods/docker_data/
Edit /etc/default/docker to look like this*:
# Docker Upstart and SysVinit configuration file
DOCKER_OPTS="-H=tcp://0.0.0.0:1337 --api-enable-cors -g /pods/docker_data"
*Heads up! If you're doing this on a hypervisor that is touched by the automation in rdocker-cli then you'll need to edit this line in labsalt to include your salt id.
Reboot for good measure
reboot
Once you're back in, do a docker info
to make sure the storage directory is pointed to the right place.