Docker Community Forums

Share and learn in the Docker community.

Package image to run on user's mac


(Restjohn) #1

I want to use Docker to build an image of a server/db/webapp to distribute to a non-technical user with limited internet connectivity. My first thought is to have the user install Docker for Mac, of course, and then possibly build some sort of installer that will load a saved image to the user’s Docker host. Is this feasible and does anyone have any experience doing this? Can I accomplish this by using docker save to create a tarball of the image, and bundling that in a .pkg installer or something? Can the user run the container without internet connectivity after I’ve built and saved the image to a tarball?

Thanks in advance.