..
Export Docker containers to other hosts
Source Host
- Commit the current container
docker commit <name or ID of the container instance> my_container_image
- Save the container
docker save my_container_image | gzip > my_container_image.tar.gz
Copy the image and container to the destination host (e.g., cp, scp or rsync).
Destination Host
- Load the container
gunzip -c my_container_image.tar.gz | docker load