Answer the question
In order to leave comments, you need to log in
How to upload a Docker container to a production server?
I'm learning docker, I don't know much yet
Now I've learned how to deploy the server locally (docker compose)
After I finish the project locally, how can I upload all this to the server? in the same place, not only the source code of the application, but let's say python, mariadb, etc.
PS: and what OS docker uses by default? that is, if I'm not mistaken, I only download images of mysql, python, etc., but do not specify which OS, or did I not understand something? Thank you
Answer the question
In order to leave comments, you need to log in
In general, if you do not change anything in the dockers created using compose, then you simply transfer the entire compose.yml with dependencies to the server and just pay it there.
And by default, the docker, for the container, takes the one that was laid by the creator of the container. You can see it in the source code, and it doesn't really matter. As a rule, containers are delivered as a final product, and if you didn’t find a thin one for you, you write your own, on the OS you want and with what you want inside.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question