Tag: docker registry

How do I make my Kubernetes replication controller use a certain secret to pull an image?

I have specified a certain image pull secret for my replication controller, but it doesn’t appear to be applied when downloading the Docker image: $ ~/.local/bin/kubectl –kubeconfig=/etc/kubernetes/kube.conf get events FIRSTSEEN LASTSEEN COUNT NAME KIND SUBOBJECT REASON SOURCE MESSAGE 8h 8s 3074 web-73na4 Pod spec.containers{web} Pulling {kubelet ip-172-31-29-110.eu-central-1.compute.internal} Pulling image “quay.io/aknuds1/realtime-music” 8h 5s 3074 web-73na4 Pod […]

Why are we using docker-registry?

Can someone explain me ‘Docker-registry’? I face it in OpenShift but it’s hard to understand what it is at the moment.

Docker private registries and the default installer

I am trying to set up a private Docker registry. I [found this tutorial](https://github.com/docker/distribution/blob/master/docs/deploying.md ) which states I need to run: docker run -d -p 5000:5000 –restart=always –name registry registry:2 But this implies that Docker is already installed & running on the server. So I created a new Ubuntu 14.04 (upstart-based) VM and installed Docker […]

Comparing Docker Tags

Given that I build and tag an image like so: docker build -t foo:bar . docker tag foo:bar foo:baz How can I. later, confirm whether or not the two tags refer to the same thing? I would like to be able to do this through the Registry API (v2), since I might not have both […]

How to substitute variable value in “docker run” command

I am using a bash script and trying to assign a fingerprint value as below export FINGERPRINT=D0:19:C5:80:42:66:56:AC:6F docker run –rm -i -v /var/run/docker.sock:/var/run/docker.sock –name ucp docker/ucp join –replica –fingerprint $FINGERPRINT However, bash is not at all substituting the value of $FINGERPRINT

Error: Status 404 trying to push repository busybox

I tried to push signed images from a machine (A) to a registry on another machine (B). docker tag busybox:latest ubuntu:5005/busybox:latest docker push ubuntu:5005/busybox:latest The push refers to a repository [ubuntu:5005/busybox] …. Error: Status 404 trying to push repository busybox … . telnet ubuntu 5005 Trying 127.0.1.1… telnet: Unable to connect to remote host: Connection […]

JFrog artifactory docker image size trough REST

After pushing image to JFrog artifactory docker registry, I want to get image size trough REST api, is there any API for this ?

Docker Hub API v2 token authentication issue

Currently, I’m working on a very light version of Docker containers orchestrator and I have to be able to get image digest from public Docker Hub registry. I want to use Docker Registry API v2 for this purposes. I’m trying to get authorization token using following API call: curl https://auth.docker.io/token?service=index.docker.io&scope=repository:alpine:pull … and I get a […]

setting up gitlab as docker container with docker registry showing error 500

I’m trying to running a Gitlab docker container in a Vagrant box. But I have some problems getting the docker registry running. my docker-compose.yml gitlab: container_name: gitlab image: gitlab/gitlab-ce:latest volumes: – /srv/gitlab/config:/etc/gitlab – /srv/gitlab/logs:/var/log/gitlab – /srv/gitlab/data:/var/opt/gitlab – /srv/gitlab/logs/reconfigure:/var/log/gitlab/reconfigure restart: always hostname: 192.168.7.7 ports: – 0.0.0.0:23:22 – 0.0.0.0:80:80 – 0.0.0.0:443:443 – 0.0.0.0:5000:5000 – 0.0.0.0:7443:7443 (port 23:22 […]

Can't push my own image to IBM Bluemix Registry

I created a custom image with docker build, and want to push it to IBM Containers on Bluemix. I did login with cf login and cf ic login, then I tagged the image, set the correct registry and namespace, and the push command worked only for a few layers and then it got stuck at […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.