Docker Community Forums

Share and learn in the Docker community.

How to export only changes and import them offline mode


(Sn0opr) #1

We have some offline machines (that are impossible to connect to internet) , we are thinking of using docker on them, but we don’t know how to update the containers without internet.

We are thinking of exporting only the changed files in our container in an archinve and then copy them to the machine and import them, it that possible with docker ?


(David Maze) #2

docker save the images on a system that can connect to your internal registry, copy the tar file across somehow, and docker load on the target system.

Depending on your environment, it may be faster/better (or not) to copy across the Dockerfile and related artifacts you need to docker build your images. But probably the docker save path will work better.


(Sn0opr) #3

I know that , but I want only to export changes (not the entire image)