Tag: nexus3

Nexus 3docker代理到v1代理不工作(使用v2 api调用)

我有一个Nexus 3docker代理库创build代理我们有一个旧的v1版本库。 无论我做什么,nexus代理正在尝试对代理进行/ v2 api调用。 我有启用nexus 3代理的v1支持。 logging以下内容: 不能parsing错误响应意外的字符('<'(code 60)):期望在[Source:org.apache.http.conn.EofSensorInputStream@4462b3e0;}处有效的值(数字,string,数组,对象,'true','false'或'null' line:1,column:2] 2017-07-27 19:52:47,957 + 0000 WARN [qtp1927946838-333] org.sonatype.nexus.repository.docker.internal.V2Handlers – 远程URL是否是有效的docker端点? 远程主机https:/// with path / v2 //清单/没有返回预期的响应。 错误消息:未知 查看dockerregistry服务器上的日志,我只能看到v2请求。 这是应该工作还是这不支持? 此外,我正在尝试自我排除此问题,并且在nexus-public存储库中看不到docker存储库代码。 这个东西的源代码不可用?

sonatype nexus3的Kubernetes掌舵将支持SAML身份validation?

有人知道sonatype nexus3是否会支持SAML身份validation? 或者任何其他方式来做到这一点,而不改变docker形象 ? 这篇文章的标题身份validation与Apache ,但仍意味着,我需要更改docker图像…

Nexus3无法更新实例pid:没有可用的锁“nexus”

我有一个nexus3实例在Docker容器中运行,并且在某些networking攻击存储上将/ nexus-data目录挂载为一个卷。 docker集装箱没有特别地死亡,现在不会出现,因为它会引发错误 Unable to update instance pid: No locks available "nexus" 我如何得到这个启动了 Nexus Repository ManagerOSS 3.6.0-02

通过docker容器名称Sonatype Nexus 3内容select器?

我似乎无法find有关如何通过泊坞窗容器名称设置内容select器的文档。 我试图find名称中包含“_api”的所有容器: format == "docker" and name =~ "_api" 这似乎并没有工作我也试过: format == "docker" and path =~ "_api" 这似乎不工作。 我究竟做错了什么?

dockerlogin到联系连接被拒绝

我已经build立了我的docker回购站,下面是docker-compose.yml文件: version: '2' networks: prodnetwork: driver: bridge services: nexus: image: sonatype/nexus3 volumes: – "nexus-data:/nexus-data" ports: – "8081:8081" – "8082:8082" – "8083:8083" – "8084:8084" – "8085:8085" – "8086:8086" – "8087:8087" – "8088:8088" networks: – prodnetwork jenkins: image: library/jenkins ports: – "8080:8080" networks: – prodnetwork volumes: – /var/run/docker.sock:/var/run/docker.sock – /usr/bin/docker:/usr/bin/docker – /opt/jenkins/:/var/lib/jenkins/ depends_on: – nexus – sonar […]

GKE:nexus磁盘不可写入

我想在Google容器引擎中运行nexus3。 我创build了一个持久磁盘并configuration了以下部署文件: apiVersion: apps/v1beta1 kind: Deployment metadata: name: nexus3 labels: app: nexus3 spec: replicas: 1 selector: matchLabels: app: nexus3 template: metadata: labels: app: nexus3 tier: web spec: containers: – image: gcr.io/nexustest-182520/nexus3:3.6.0 name: nexus3 volumeMounts: – mountPath: /nexus-data name: nexus3-persistent-storage ports: – containerPort: 8081 volumes: – name: nexus3-persistent-storage gcePersistentDisk: pdName: nexus3-disk fsType: ext4 部署失败,出现此问题: kubectl get […]

如何从Nexus3中获取组件和相关资产列表?

我试图从Sonatype Nexus3中导出资产,以便重构我们的软件工件持久性。 主要我想使用Nexus3作为不同存储库的镜像/分组工具,而不是像我们目前那样直接推送它。 为此,我需要从中提取所有Docker,Maven和NPM组件/资产。 问题是,Nexus3使用blob商店来进行资产持久性,而我想要的是原始资产。 Docker镜像很容易。 我可以走每个存储库的DockerregistryAPI来获取图片列表,然后将其推送到新的位置。 然而,对于Maven构件(我也假设这也适用于NPM构件),我无法使用Maven Wagon Plugin的副本目标或其他任何东西导出存储库,因为我所看到的所有解决scheme都依赖于目录列表在Nexus3中尚未实现。 如果我能够获得Nexus3托pipe版本库中的所有组件和相关资产的列表,这将是乏味的,但足以编写脚本。 是否有一些CLI或API技巧来从Nexus3中提取这些信息? login到Karaf OSGi控制台后,是否可以针对embedded的OrientDB实例运行查询? 寻找一些指针!

Nexus 3 Docker容器和备份

我正在从Docker容器testingNexus 3,并使用https://github.com/sonatype/docker-nexus/blob/94d654faa2166b60fe2a4ad9629ff418a305dcb9/oss/Dockerfile 。 问题是,当我上传工件到Nexus我无法find它在文件系统中创build备份。 文件夹/ sonatype-work是空的。 我已经成功地使用这种方法来备份Nexus 2。 请问Nexus 3在哪里存储它的工件? 先谢谢你。

将Docker镜像构build并发布到Nexus3

新来nexus ..我们正试图自动化构build过程(构builddocker图像,并将其发布到Nexus3存储库)。我的要求是,我有一个使用docker build -t <imagename>:<version> .的图像docker build -t <imagename>:<version> . 现在我想用Jenkins将这个docker映像发布到nexus repo。 我有一个nexus回购和jenkins作业configuration了dockermaven插件也我提供了docker:push maven目标..不知道现在如何推? 我是否需要使用docker push <imagename>:<version>使用shell脚本,或者在Jenkins CI作业中必须提及哪些步骤。 请帮帮我..

运行Docker Windows映像时无法启动Sonatype Nexus3服务

我是新来的docker,我试图让Nexus3在Windows容器中运行。 我的机器运行的是Windows 10,我正在使用:Docker CE版本17.03.1-ce-win12(12058)频道:stable d1db126 我有以下DockerFile内容。 FROM microsoft/nanoserver #FROM microsoft/windowsservercore # I also tried this as the base image in case something was missing that I needed. EXPOSE 8081 ADD /content /nexus3 WORKDIR \\nexus3\\nexus-3.3.1-01-win64\\nexus-3.3.1-01\\bin RUN ["nexus.exe", "/install", "nexus3"] RUN ["nexus.exe", "/start", "nexus3"] RUN ["powershell", "-Command", "Get-Service", "nexus3"] 内容文件夹树看起来像这样,只是已经解压缩的窗口的nexus3下载。 B:\Docker\nexus\content ==> tree /A B:. \—nexus-3.3.1-01-win64 +—nexus-3.3.1-01 […]