Skip to content


How to move a docker container

  1. Export the container to a tarball docker export <CONTAINER ID> > /home/export.tar
  2. Move your tarball to new machine
  3. Import it back cat /home/export.tar | docker import - some-name:latest
  4. Copy config files and docker-compose file and then start the docker container
  5. clean up any extra image files if not being used.

Posted in Uncategorized.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.