Docker Community Forums

Share and learn in the Docker community.

How can I move a Docker container?

Hi,

can I move a Docker container from a server to another? I have searched both on the documentation and on the internet, but I can’t find the right instructions.

Both of my servers have Plesk and CentOS 7. It doesn’t work “save & import”, is it? :slight_smile:

I hope someone can help me.

thank you,
e.

Well yes … usually you’d go like this:

docker save -o container-name.tar.gz container-name

then you transfer the tar-File to the destination server and import it again:

docker load -i container-name.tar.gz