Tag: dockerregistry

垃圾收集使用S3的Dockerregistry非常慢

在S3上收集Dockerregistry的垃圾非常慢。 GC花了超过24小时的500GBregistry。 我的主dockerregistry超过了三十倍。 我想GC是慢的,因为Docker垃圾回收例程不能有效地使用S3 API调用。 有没有人知道专门为S3编写的Dockerregistry垃圾收集器或某种方式来加快垃圾收集过程? 谢谢,埃德

dockerregistry推送本地主机上失败

我在我的本地主机上运行dockerregistry:5000,当我试图把图像得到下面的错误。 bash-4.2# docker push localhost:5000/test5 The push refers to a repository [localhost:5000/test5] (len: 1) Sending image list Put http://localhost:5000/v1/repositories/test5/: dial tcp 127.0.0.1:5000: connection refused 以下是/ etc / default / docker中的条目 bash-4.2#more / etc / default / docker DOCKER_OPTS =“ – insecure-registry localhost:5000” 有人可以帮忙吗?

超时将图像推送到集装箱docker内部的连接点

我有一个相当大的图像在docker,大约4GB,当我尝试将它发送到我的连接器,也在docker集装箱,这个exception出现。 引起:java.util.concurrent.TimeoutException:空闲超时过期:30000/30000毫秒在org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166)[org.eclipse.jetty.io:9.3.7 .v20160115]在org.eclipse.jetty.io.IdleTimeout $ 1.run(IdleTimeout.java:50)[org.eclipse.jetty.io:9.3.7.v20160115]在java.util.concurrent.Executors $ RunnableAdapter。调用(Executors.java:511)[na:1.8.0_112]在java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_112]在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask。访问$ 201(ScheduledThreadPoolExecutor.java:180) 我认为增加我的docker超时我可以发送我的形象,但我不知道如何做到这一点,记住我的联系是使用docker 任何想法?

从私有Dockerregistry中删除图像的方法

我有一个私人dockerregistry设置,我已经推动了一些图像从其他机器到这个registry。 它是一个V2registry。 我不知道从存储库中删除图像的新方法,因为这些推送的图像没有在CLI中列出“泊坞窗图像”。 任何人都可以build议我正确的方式从磁盘上删除这些图像? 非常感谢您的回答。 谢谢

从守护进程I / O超时的Dockerregistry错误响应

来自守护进程的错误响应:获取https://registry.xxx.com:5000/v1/users/ :在192.168.65.1:53上拨号tcp:lookup registry.xxx.com:读取udp 192.168.65.2:42307->192.168。 65.1:53:I / O超时 我已经build立了一个在Ubuntu服务器上运行的私人dockerregistry,但是当我做“docker login https://registry.xxx.com:5000 ”的时候,不断收到上面的错误。 当我从我的手机networking上运行“curl -v https://registry.xxx.com:5000 ”时,我可以parsing主机,并能够成功login到registry。 但是,我不能这样做,并得到一个“无法parsing主机”错误时运行“curl -v https://registry.xxx.com:5000从registry所在的同一networking”。 看来,它不能解决的领域。 我有一个draytek路由器。 有任何想法吗?

Docker本地私人注册跨区域设置

我在本地局域网上有一个本地dockerregistry设置。 但现在的问题是,我的同事在世界的另一个地方工作时,面对巨大的滞后和延迟问题,同时将容器推入和拉出本地registry。 所以是否有一个出路,因为我可以在本地局域网中设置2个dockerregistry项,在localLAN中设置一个dockerregistry项,并且两者同步,这样如果我更新/推送一个新的容器到我的本地registry中,应该反映在其合作伙伴本地registry,即其他localLAN / AWS实例,反之亦然。 我尝试过registry镜像,但是docker文档说它已经被弃用了。

从本地专用dockerregistry创buildSingularity容器

从Docker镜像创build奇点图像时,如何在本地不安全的私有registry中正确引用Docker镜像? 使用奇点2.2.1,尝试使用specfile: Bootstrap: docker Registry: localhost:5000 From: tensorflow:latest %runscript exec /usr/bin/python "$@" %post echo "Post install stuffs!" 结果如下: Executing Prebootstrap module VERBOSE [U=0,P=22966] message.c:52:init() : Set messagelevel to: 5 DEBUG [U=0,P=22966] get-section.c:66:main() : Iterating through /proc/mounts Executing Bootstrap 'docker' module From: tensorflow:latest Registry: https://localhost:5000 library/tensorflow:latest scope=repository:library/tensorflow:pull URL: https://localhost:5000/v2/library/tensorflow/manifests/latest Traceback (most recent call last): File "/usr/lib/x86_64-linux-gnu/singularity/python/cli.py", […]

docker.sock用于docker pull的哪个ca.crt?

当我使用/var/run/docker.sock运行docker(docker内部的docker)的容器内部执行docker时,我得到了这个错误: FATA[0000] Error response from daemon: v1 ping attempt failed with error: Get https://registry.com:5000/v1/_ping: x509: certificate has expired or is not yet valid. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `–insecure-registry registry.com:5000` to the daemon's arguments. In the case of HTTPS, if you have access to […]

GKE:Dockerlogin一直成功,但即使使用有效凭证,推送也不起作用

我有一个运行在GCE中的GKE集群,我能够构build+标记从Ubuntu的派生的图像:16.04: / # docker images REPOSITORY TAG IMAGE ID CREATED SIZE eu.gcr.io/my-project/ubuntu-gcloud latest a723e43228ae 7 minutes ago 347MB ubuntu 16.04 ebcd9d4fca80 7 days ago 118MB 首先,我尝试login到registry(如GKE文档中所述) docker login -u oauth2accesstoken -p `curl -s "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token" -H "Metadata-Flavor: Google"|awk -F\" "{ print \$4 }"` eu.gcr.io` 然后docker push命令失败: # docker push eu.gcr.io/my-project/ubuntu-gcloud The push refers to a repository […]

Gitlab总是显示“此项目的容器registry中没有容器映像存储库”。

我已经在https://registry.domain.com上configuration了一个私人registry 我在gitlab.rb修改的唯一configuration是registry_external_url 。 我已经configuration了我的tls证书,我正在使用基本的身份validation。 我已成功推送到我的服务器在一个configuration项中,但我一直有这个消息时,我去registry页面: No container image repositories in Container Registry for this project 有build议的命令,使用相同的build议图像名称是否重要? 我认为Gitlab需要一种方法来对服务器进行身份validation。