Answer the question
In order to leave comments, you need to log in
How to upload an image to a local repository in docker?
You need to create an image based on the container and upload it to the local repository. I managed to create a local repository, but when I try to upload / download an image, I get a 405 error. I also found out that Docker has a ready-made repository, the name of which is associated with "base", but I can no longer find information about it. Please tell me how to upload the image to "base" or fix the 405 error.
Answer the question
In order to leave comments, you need to log in
In docker, the repository is called a register, how to raise it - here .
Note that when raising your own registry, docker must be run with the --increase-registry option, see here , otherwise it may not find your registry.
If you just want to play around, or there is no strong need for the privacy of your images - better not bother and use the docker hub.
docker push and here local repository tag
Example:
docker push local:5000/registry1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question