1. Shut down and capture current state of installation as an image

  • docker stop “container” : stop running container
  • docker ps -a : get container ID
  • docker commit "container id" "image name" :
  • docker images : check newly created image
  • docker save image > image.tar : export image as a tar file
  • docker load -i image.tar : load image on new host

2. Change docker file on new host to reference name of new image

3. Copy all files related to externally mapped directories.