Answer the question
In order to leave comments, you need to log in
How to save a docker container?
how to save a docker container so that later it can be downloaded to other machines with pre-installed packages and files?
in the Dockerfile, I write some packages that I need installed, then I do
docker build .
then I add some files or something else to the docker,
how can I save all this later so that I can copy this entire container in the same form to other machines?
Answer the question
In order to leave comments, you need to log in
You can write all the steps in the docker-compose file and build and raise with it, but you can also create your own image, upload it to the docker registry or dockerhub and from there pull it to the machine https://docs.docker.com/develop/develop- images/base...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question