Tag: docker registry

Insecure Docker registry on Centos7 refuses to ingest images, even with flag 'insecure-registries'

I try to deploy an insecure Docker Registry on a CentOS7 server: docker run -d -p 5000:5000 –restart=always –name registry registry:2 I configured docker like this: # /etc/docker/daemon.json { “insecure-registries”:[“registry.mydomain.com:5000”] } With that, docker info gives me: Containers: 1 Running: 1 Paused: 0 Stopped: 0 Images: 2 Server Version: 1.12.4 Storage Driver: devicemapper Pool Name: […]

Using private docker registry for GitLab CI

I’m using gitlab.com and would like to build my project with the provided shared runners. I have a docker image which contains all dependencies to build the project. The image is located at privateregistry.example.com. My .gitlab-ci.yml file looks like this: image: privateregistry.example.com/myteam/myimage before_script: – npm install build: script: # … Since it is a private […]

How to remove all data from a Docker Registry from cli?

I have a dedicated server hosting a docker registry. How can I remove all tags, images, payloads, data using standard docker commands ?

Docker in docker reach outer-layer registry by hostname

I have some trouble with dind, in the outer docker-compose I have a build server, and a docker registry. The build server builds stuff in its own containers, I want to put my dists in the docker-registry in the outer docker…. but: the docker-registry-1 (which is what i call it) only gets added to the […]

Configure docker repo with https without domain name

I have a website that I’m running on a digital ocean droplet, which I want to continuously deploy via docker and a Teamcity build server which I have running on my home server. I want to enable https on my docker repo, with a self signed certificate, and without a domain name. Let’s say my […]

docker private registry within local network

I’ve set up a private registry for docker, everything works greate from outside (i’ve a server with several VMs, one of these is the reposiotry). From my pc I can do docker login -u USER -p PASS repo.mydomain.com and it works great. Now, from inside another VMs if i do the same i get back […]

Pulling of docker image from a registry fails

Would love some help about an issue. When I was trying to download an image form the repository it failed and I could see the following errors in the log file. This is the syslog which I received Jan 4 10:22:05 <hostname> kernel: device-mapper: thin: commit failed: error = -22 Jan 4 10:22:05 <hostname> kernel: […]

Challenges in upgrading Docker components

Intro: We are getting ready to use Docker in a production environment. At present, we have about 400+ containers running and there are about 150+ images in Docker Trusted Registry. As a part of ongoing efforts, we are also upgrading the Docker components (Docker Trusted Registry, Docker Engine, and Universal Control Plane). We want to […]

docker login in docker machine

I have a private docker image hosted on Dockerhub. I am using docker machine using generic driver to handle my virtualbox VMs. I have already done “docker login” on my manager & worker machine both but i keep getting below error – unable to pin image xxyyzz/xyz-sm:v1 to digest: errors: denied: requested access to the […]

How can I make Atifactory docker registry images use docker manifest version 2?

I’m using JFrog’s Artifactory (v4.16.0) as a docker registry and I’ve noticed that whenever I uploade an image the manifest file is version 1: { “schemaVersion”: 1, “name”: “devops/testimage”, “tag”: “0.0.1”, “architecture”: “amd64”, […] The docker image I’m buildling from is version 1.12.3. Is there something I need to do to ensure the manifest is […]

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