docker-registry

Run Docker in daemon mode

一个人想着一个人 提交于 2019-12-12 03:26:52
问题 I issued this command sudo docker daemon -H unix:///var/run/docker.sock -H tcp://xxxx:8400 -H tcp://yyyyy:2375 & It working fine. but it not returning to my console client. it not finishing the command. WARN[0000] /!\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\ WARN[0000] /!\ DON'T BIND ON ANY IP ADDRESS WITHOUT setting -tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING /!\ INFO[0000] [graphdriver] using prior storage driver "aufs" INFO[0000]

Could not access a running Docker Image of War (with tomcat) in minishift - OpenShift-Origin

匆匆过客 提交于 2019-12-12 02:08:09
问题 I have crated a docker image for a simple Java-Spring MVC War file, (Docker Config below). I am able to run the using docker run command and also I do not see any errors in the log or trouble uploading war into internal registry in Openshift-minishift. I was able to pull the image in my Openshift-minishift console. #Docker Config FROM tomcat:8.0.20-jre8 MAINTAINER ashok.gudise@github ENV CATALINA_HOME /usr/local/tomcat ENV PATH $CATALINA_HOME/bin:$PATH RUN mkdir -p "$CATALINA_HOME" WORKDIR

Is there a VSTS build task to remove unused Docker containers from the registry?

*爱你&永不变心* 提交于 2019-12-11 16:46:37
问题 Problem I have a Docker Container registry on Azure with one container holding multiple tagged versions. I'd like to remove the unused tags as they're taking up a lot of space and can be remade at any time. Reasons The only reason this Docker container registry exists is because of how VSTS handles builds and releases of Docker containers. When running a VSTS build, it stores the container in the registry on Azure with a new tag. Not all builds will be released so those tags can be safely

start docker error when add --insecure-registry

邮差的信 提交于 2019-12-11 14:13:34
问题 i want create private registry and follow this answer Setting up a remote private Docker registry docker run -p 5000:5000 registry and other servre modify /usr/lib/systemd/system/docker.service file to disable https ExecStart=/usr/bin/dockerd --insecure-registry 172.24.54.41:5000 i can curl 172.24.54.41:5000 sudo service docker stop sudo systemctl daemon-reload sudo systemctl start docker the error log in systemctl status docker.service docker.service - Docker Application Container Engine

Does Google container registry support docker remote API V2

血红的双手。 提交于 2019-12-11 14:08:12
问题 I'm storing my docker images in my private Google Container Registry and I want to interact with the images through registry V2 APIs, such as getting tags of an image ( /v2/:imageName/tags/list ). I believe that it is supported, according to this link But I cannot found related documentation. Can anyone help me? 回答1: Indeed it is (including that endpoint). You should be able to interact with it after authenticating in the standard way outlined here. Feel free to reach out on gcr-contact

error in docker build publish plugin

泪湿孤枕 提交于 2019-12-11 02:03:37
问题 Can you please help me for configuring the jenkins docker build publish plugin. I have setup artifactory for docker repo and trying to push image build from github docker file. Following is the error I am getting : Error response from daemon: Invalid registry endpoint https:// https://artifactory.corp.inmobi.com/v1/: Get https:// https://artifactory.corp.inmobi.com/v1/_ping: dial tcp: unknown port tcp/. \ If this private registry supports only HTTP or HTTPS with an unknown CA certificate, \

How to get manifests using HTTP API v2?

99封情书 提交于 2019-12-11 01:27:22
问题 How to authenticate with the V2 API is useful and works. REPO="https://hub.docker.com/v2" I'm able to get tokens, list (my) repos and lists their images and tags. curl --silent \ --header "Authorization: JWT ${TOKEN}" \ ${REPO}/repositories/${USERNAME}/ curl --silent \ --header "Authorization: JWT ${TOKEN}" \ ${REPO}/repositories/${USERNAME}/${IMAGE}/tags/ I'd like to 'GET MANIFEST' but I'm struggling to get this to work: https://docs.docker.com/registry/spec/api/#manifest: curl --silent \ -

How to “delete” an image from a private Docker Registry?

旧街凉风 提交于 2019-12-10 13:10:41
问题 I'm writing an API client for docker and the registry API is difficult to work with. I'm trying to delete an image from the registry however I keep getting this error [ { code: 'UNSUPPORTED', message: 'The operation is unsupported.' } ] My steps to get this are as follows, > GET http://localhost:5000/v2/ > registry/2.0 > registry/2.0 > GET http://localhost:5000/v2/_catalog/ > { repositories: [ 'alpine' ] } > GET http://localhost:5000/v2/alpine/tags/list > { name: 'alpine', tags: [ 'latest' ]

Importing Docker Images Images From The Public Registry Into OpenShift

落花浮王杯 提交于 2019-12-10 12:06:29
问题 I am trying to deploy an Ubuntu Image from the here on OpenShift Online (Next Generation). These are the steps I followed in doing so $ oc new-project test $ oc new-app jedisct1/phusion-baseimage-latest I then deployed from the WebConsole However I get a failed deploy and an error status of "image pulled back off" on the pod page. Any particular thing that I may be doing wrong? Below are the logs of the entire proccess. root@home:~# oc new-project test Now using project "test" on server

setting gitlab with docker registry error 500

那年仲夏 提交于 2019-12-10 11:42:11
问题 I have running docker with docker registry on example.domain.com docker run -d -p 5000:5000 --restart=always --name registry \ -v /etc/ssl/certs/:/certs \ -e REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry \ -v /git/docker_registry:/var/lib/registry \ -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/server.crt \ -e REGISTRY_HTTP_TLS_KEY=/certs/server.key \ registry:2 I can push and pull to this docker registry but when i try to connect it with gitlab which is running on the same machine