Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi,
Would you have an idea why when I do
docker login $URL I received a Error 403
Error response from daemon: login attempt to https://$HOST/v2/ failed with status: 403 Forbidden
While if I do :
http -a $USER https://$HOST/v2/_catalog http: password for $USER@$HOST: HTTP/1.1 200 OK Connection: keep-alive Content-Length: 20 Content-Type: application/json; charset=utf-8 Date: Fri, 15 Mar 2019 10:35:03 GMT Docker-Distribution-Api-Version: registry/2.0 Server: nginx/1.15.9 X-Content-Type-Options: nosniff
{ “repositories”: [] }
It works !
Great tutorial as always ! I experienced an annoying error, so adding my findings here for posterity:
When pushing a repo to my registry, I first login successfully, but pushing results in an “unauthorized: authentication required” error after the image has already been partially uploaded.
Going through the server logs, I find a cryptic “Unknown Blob” error.
I had to change my nginx config to proxy_set_header X-Forwarded-Proto https; instead of proxy_set_header X-Forwarded-Proto $scheme;.
My server was already hosting some other services, so my previous nginx config probably interfered and was to blame.
Hi, thanks for this nice work.
Juste a little mistake: “client_max_body_size 2000M” - if you want to setup 2G the value must be 2048 ;)
An almost completely awesome tutorial … thanks. These tutorials are a bit like the arch wiki.
Minor but annoying error in the documentation.: It is important that new htpasswd users are added with the -B flag. Without this, docker login will fail.
Currently, it reads:
Note: To add more users, re-run the previous command without the -c option, (the c is for create):
htpasswd registry.password username
please correct to
Note: To add more users, re-run the previous command without the -c option, (the c is for create):
htpasswd -B registry.password username
When attempting to login to the registry the following error is returned:
Error response from daemon: Get https://<myServer>/v2/: x509: certificate signed by unknown authority.
The server is correctly protected by a wildcard cert for our domain, and going the the location in a web browser works perfectly.
There seems to be a missing step somewhere in the documentation.
Any help is greatly appreciated
Unfortunately when I am pushing I get:
af0b15c8625b: Pushing [==================================================>] 3.584kB
received unexpected HTTP status: 501 Not Implemented
The logs of the docker registry container only shows a warning:
time="2019-11-12T20:35:04.529028691Z" level=warning msg="invalid remote IP address: "unknown""
Any ideas?
Thanks for the tutorial. Everything worked fine but there is no information on how I can delete the test-image from my private registry. Would be great if you added that as well. I can’t be alone to aim for digital hygiene :-)
How can we add push restrictions for some users? Like create a separate user for pull and push the docker images.
Where you have version: '3' in the docker-compose.yml, I think you meant that to be be version: '2'.
You even reference it as version 2 in the browser window https://example.com/v2.
I couldn’t get docker-compose up to run with version: '3'.
Nice article all the same.
Hi,
I push image to private docker registry. It’s shown unknown blob.
Could u help me?