# Migrating Docker Storage.... Stop Docker Service ``` rdocker-cli.rb restart_docker_service IP ``` 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="--insecure-registry 10.6.195.13:5000 -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](https://github.rackspace.com/evan5143/labsalt/blob/master/salt/prod_docker/pods_docker#L3) 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.