I’m attempting to get a catalog listing for Docker hub, but so far I’m just getting an error in response. My understanding is I’d need to pass a bearer token with the catalog request, so I start by getting that token with the related scope: curl -u “username:password “https://auth.docker.io/token?service=registry.docker.io&scope=registry:catalog:*” (this is using username/password from my […]
I have my docker-registry in localhost and I can pull/push with command: docker push localhost:5000/someimage How I can push it with command like docker push username@password:localhost:5000/someimage?
I want to check how many containers are running an image, I could do that using docker ps –filter ancestor =”imagename” and then count the number of containers.But my machine does not support this command is there another way to do it?
It seems a simple question but it’s really not clear what the meaning is of this command: docker run -d -p 5000:5000 –restart=always –name registry \ -v `pwd`/certs:/certs \ -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \ -e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \ registry:2 The -v pwd/certs:/certs \is not clear at all. Could someone give an explanation
I might be entirely wrong here but, I pulled 32bit/ubuntu from docker registry and wen I run uname -a I get x86_64 ➜ ~ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE erlang-build-box latest fd61e832201b 7 weeks ago 1.841 GB hello-world latest e45a5af57b00 9 weeks ago 910 B 32bit/ubuntu 14.04 6de534a1b6e3 4 months ago […]
I made a registry exactly how it says in the docker documentation and for some reason whenever I try pushing an image to it, it throws a 404 error at me. here is the error Error: Status 404 trying to push repository stelasite: “404 page not found\n” and on the server side, this 11/8/2015 6:33:00 […]
I have a docker registry which I use for development. Every image I push is retagged with the tag :latest. So there are a lot of unreferenced images/blobs. I try to clean the image by running the GC but this does not seem to help: docker exec -it id bin/registry garbage-collect /etc/docker/registry/config.yml The env var […]
I’m trying to setup a private docker registry mirror using this command: docker run -d -p 5555:5000 -e STORAGE_PATH=/mirror -e STANDALONE=false -e MIRROR_SOURCE=https://registry-1.docker.io -e MIRROR_SOURCE_INDEX=https://index.docker.io -v /Users/v11/Documents/docker-mirror:/mirror –restart=always –name mirror registry And I start docker with these variable: sudo http_proxy=http://10.16.10.129:9526/ docker -g /opt/apps/docker/lib –insecure-registry=10.11.150.75:5555 –registry-mirror=http://10.11.150.75:5555 -d & When I pull image, it show me error […]
I upgraded my Mac (OS X) from an older Docker installation to Docker Toolbox, meaning that I’m now working with Docker Machine, and in the process discovered that certs I had working for push/pull with a private registry are not there, and I can’t for the life of me figure out how to get them […]
I have setup, both the repl supplied docker-registry and the official docker registry image from docker hub both have the same issue I am seeing. I have an image which I have tagged with the docker registry hostname and port etc, and try and push it to the registry. On hitting enter, it appears to […]