Tag: docker registry

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 […]

How do pass in DOCKER_OPTS into docker image running from Docker for Mac?

My root problem is that I need to support a local docker registry, self-signed certs and whatnot, and after upgrading to Docker for Mac, I haven’t quite been able to figure out how to pass in options, or persist options, in the docker/alpine image running via the new and shiny xhyve that got installed with […]

defining resource limitation and using volumes in dockerfile?

Is there is any option for defining resource limitation in Dockerfile? then how to define already created volume for specific folder in container ?? I cannot using my volumes in Dockerfile , it creates new volumes with random id for each run

docker login <dtr-server> gives error 404 not found

when I try to login on docker private registry it gives the following error: $docker login https://dtr-ip:443 Error response from daemon: Login: <html> <head><title>404 Not Found</title></head> <body bgcolor=”white”> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.8.0</center> </body> </html> (Code: 404; Headers: map[Date:[Wed, 22 Jun 2016 13:51:33 GMT] Content-Type:[text/html] Content-Length:[168] X-Replica-Id:[fa6e7b73277d] Server:[nginx/1.8.0]]) My docker trusted registry and UCP are on […]

How stable are version-tagged docker baseimages? Should I make my own copy?

I am creating docker images based on base-images from docker.io (for example ubuntu:14.04). I want my docker-builds to be 100% reproducible. One requirement for this is, that the baseimage does not change (or if it changes, it is a decision by me to use the changed baseimage). Can I be sure that a version tagged […]

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