Tag: nexus3

nexus3.5.1 yum代理库不下载所有的数据库

我正在尝试为http://mirror.centos.org/centos/7/os/x86_64/设置一个nexus yum存储库。 使用的nexus实例是官方docker图像 我configuration了一个yum代理,但是每次repodata被下载,它们都是不完整的,特别是primary.xml文件被截断,我找不到原因。 我尝试了不同的镜子,但行为是一样的。 这是yum更新的输出: Parsing primary.xml error: Specification mandate value for attribute e Repofile: [nexusrepo] name=Nexus Repository baseurl=http://172.17.0.1:8081/repository/yum-proxy/ enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 priority=1 如果我运行nexus从主机二进制的工作,有人可以帮我理解为什么? 谢谢

Sonatype Nexus3docker图像 – 如何设置内部docker库

任何人有任何经验设置? Https需要在sonatype / nexus3configuration中启用,但是这些文件是只读的。 如何编辑,而不必使用nexus3图像做一个docker构build? 我可以在容器内以root身份login吗?

无法login到Nexus 3 dockerregistry

我已经在Nexus中使用Docker,Nexus3和Docker存储库在HTTP端口8123中设置了AWS EC2实例以及所有必要的设置,以便我可以从Docker中看到它。 在漫长的研究之后,我在dockerconfiguration文件中添加了正确的选项,以便在运行docker info ,可以将我的不安全的registry设置为正确的IP地址。 我可以从我的机器访问Nexuspipe理器的URL,没有任何问题,我可以创build存储库等。 然后我尝试从我的EC2实例中执行dockerlogin,如下所示: docker login -u admin -p admin123 my_ip_address:8123 过了一段时间,我得到这个: Error response from daemon: Get http://my_ip_address/v1/users/: dial tcp my_ip_address:8123: i/o timeout 我已经尝试了很多东西来解决这个问题,似乎没有任何工作。 我花了整整一天,试图了解为什么dockerlogin无法看到我的Nexus3registry。 有任何想法吗?

来自守护程序的错误响应:意外的状态码404

我正在configurationnexus 3configurationdockerregistry。 正在Apache后面运行nexus并启用了https。 在命令行上,当我做一个dcokersearch,我得到下面的错误 dockersearchmy.nexus.net/ubantu Error response from daemon: Unexpected status code 404 这里是守护进程日志在debugging模式。 DEBU[7519] Calling GET /images/search INFO[7519] GET /v1.19/images/search?term=my.nexus.net%2Fubantu DEBU[7519] pinging registry endpoint https://my.nexus.net/v0/ DEBU[7519] attempting v2 ping for registry endpoint https://my.nexus.net/v2/ DEBU[7519] hostDir: /etc/docker/certs.d/my.nexus.net DEBU[7519] attempting v1 ping for registry endpoint https://my.nexus.net/v1/ DEBU[7519] hostDir: /etc/docker/certs.d/my.nexus.net DEBU[7519] Error unmarshalling the _ping RegistryInfo: invalid […]

docker使用私人registry拉/推没有前缀

我们正在使用Nexus3docker组(结合dockerhub代理和私人registry)又名: docker pull dockerproxy:5002/busybox 试图从dockerhub拉,如果它不存在私人registry,推送存储在私人registry部分。 工作正常。 但是我怎么能做到: docker pull busybox 去这个registry,而不必前缀dockerproxy:5002第一? 一个环境variables?,$ HOME / .docker / config.json? 广告素材标记? 谢谢