Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

docker push, how to see detailed interaction with registry

I'm pushing an image to a private registry and I would like to see details about the interaction with that registry. I tried docker -D, --debug, but that doesn't show any details.

/ # docker -D push registry.company.com:8443/hello-world:test
The push refers to a repository [registry.company.com:8443/hello-world]
45761469c965: Layer already exists
test: digest: sha256:9fa82f24cbb11b6b80d5c88e0e10c3306707d97ff862a3018f22f9b49cef303a size: 524

How can I show details about the docker client interacting with my private registry?

like image 523
Daniel Watrous Avatar asked Jul 18 '17 16:07

Daniel Watrous


People also ask

Does docker build push to registry?

The built image is then pushed to the Docker Hub registry. You can still use docker push to push pre-built images to repositories with Automated Builds configured. If you have automated tests configured, these run after building but before pushing to the registry.

What docker registry contains?

A Docker registry is a storage and distribution system for named Docker images. The same image might have multiple different versions, identified by their tags. A Docker registry is organized into Docker repositories , where a repository holds all the versions of a specific image.

Does docker registry contain image collection?

A registry is a storage and content delivery system, holding named Docker images, available in different tagged versions. Example: the image distribution/registry , with tags 2.0 and 2.1 . Users interact with a registry by using docker push and pull commands.


1 Answers

You would normally look in the docker daemon logs. Enable debug mode (in docker daemon) to see a bit more info. The client is asking your docker daemon to push the image to the repo, so your docker client has very little to do with this process.

like image 53
Grimmy Avatar answered Sep 20 '22 07:09

Grimmy