V
V
Vlad2016-05-15 14:05:00
linux
Vlad, 2016-05-15 14:05:00

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

2 answer(s)
I
index0h, 2016-05-15
@index0h

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.

A
AbaySeitkaliyev, 2018-01-24
@AbaySeitkaliyev

docker push and here local repository tag
Example:
docker push local:5000/registry1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question