I have a running container, going through edits, changes, and i need to move this to a new server.
commit
First, commit (ref)
docker commit <containerid> myimages/lamp:v1.1
You can see the list of images that you have with “docker images
.”
Save to a file(ref)
sudo docker save -o <imagefile.tar> imageid
Transfer the imagefile.tar to the new server.
Load them back (ref)
docker load -i <path to image tar file>
docker tag <Image-ID> myimages/lamp:v1.1
Run back.