Backdocker.io/sonatype/nexus3
docker.io
docker.io/sonatype/nexus3:3.86.2
Sonatype Nexus Repository 3
Size
356.12 MB
Local pulls
10
Upstream pulls
200,776,911
Synced at
2026-08-15 09:30:55
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.86.2
Source image
docker.io/sonatype/nexus3:3.86.2
Image info
- Image ID
- sha256:00fe7d94d5fe46ebbb97db802b59740fc1e2b964d6727d0e11fbac2bf8efe173
- Image tag
- 3.86.2
- Image size
- 356.12 MB
- Platform
- linux/arm64
- Registry
- docker.io
- Project
- Hub pageAll tagsLocal repo
- CMD
- /opt/sonatype/nexus/bin/nexus run
- Entrypoint
- —
- Working dir
- /opt/sonatype
- User
- nexus
- StopSignal
- —
- Created
- 2025-11-12T22:09:04.456Z
Exposed ports 1
- 8081/tcp
Volumes
- /nexus-data
Environment 11
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| container | oci |
| SONATYPE_DIR | /opt/sonatype |
| NEXUS_HOME | /opt/sonatype/nexus |
| NEXUS_DATA | /nexus-data |
| NEXUS_CONTEXT | |
| SONATYPE_WORK | /opt/sonatype/sonatype-work |
| DOCKER_TYPE | rh-docker |
| LANG | en_US.UTF-8 |
| LC_ALL | en_US.UTF-8 |
| INSTALL4J_ADD_VM_PARAMS | -Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs -Dfile.encoding=UTF-8 |
Labels 27
| cpe | cpe:/a:redhat:enterprise_linux:9::appstream |
| run | docker run -d --name NAME -p 8081:8081 IMAGE |
| url | https://sonatype.com |
| name | Nexus Repository Manager |
| stop | docker stop NAME |
| vendor | Sonatype |
| release | 3.86.2 |
| summary | The Nexus Repository Manager server with universal support for popular component formats. |
| vcs-ref | 09400c6ea1039bbeb186633c5815980c077ced2a |
| version | 3.86.2-01 |
| vcs-type | git |
| build-date | 2025-11-12T14:09:54Z |
| maintainer | Sonatype <support@sonatype.com> |
| description | The Nexus Repository Manager server with universal support for popular component formats. |
| architecture | aarch64 |
| base-image-ref | redhat/ubi9-minimal@sha256:53ea1f6d835898acda5becdb3f8b1292038a480384bbcf994fc0bcf1f7e8eaf7 |
| com.sonatype.name | Nexus Repository Manager base image |
| io.openshift.tags | Sonatype,Nexus,Repository Manager |
| distribution-scope | public |
| io.buildah.version | 1.41.4 |
| io.k8s.description | The Nexus Repository Manager server with universal support for popular component formats. |
| io.k8s.display-name | Nexus Repository Manager |
| com.redhat.component | ubi9-minimal-container |
| com.sonatype.license | Apache License, Version 2.0 |
| com.redhat.license_terms | https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI |
| io.openshift.expose-services | 8081:8081 |
| org.opencontainers.image.revision | 09400c6ea1039bbeb186633c5815980c077ced2a |
Pull commands
Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.86.2
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.86.2 docker.io/sonatype/nexus3:3.86.2
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.86.2
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.86.2 docker.io/sonatype/nexus3:3.86.2
YAML quick replace
sed -i 's#docker.io/sonatype/nexus3:3.86.2#registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.86.2#' deployment.yaml
Global registry mirror
Docker
Write Docker daemon.json so registry-mirrors points to this site, then restart Docker
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<'EOF'
{
"registry-mirrors": ["https://registry.cn-global.starbucket.com.cn"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart dockerContainerd
Write containerd certs.d hosts.toml so docker.io pulls via this site, then restart containerd
sudo mkdir -p /etc/containerd/certs.d/docker.io sudo tee /etc/containerd/certs.d/docker.io/hosts.toml <<'EOF' server = "https://docker.io" [host."https://registry.cn-global.starbucket.com.cn"] capabilities = ["pull", "resolve"] EOF sudo mkdir -p /etc/containerd if [ ! -f /etc/containerd/config.toml ]; then sudo containerd config default | sudo tee /etc/containerd/config.toml >/dev/null fi sudo sed -i 's#config_path = ""#config_path = "/etc/containerd/certs.d"#' /etc/containerd/config.toml sudo systemctl restart containerd
Build history 38
2025-11-12 22:08:45empty layer
CMD ["/opt/sonatype/nexus/bin/nexus" "run"]
2025-11-12 22:08:45empty layer
ENV INSTALL4J_ADD_VM_PARAMS=-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs -Dfile.encoding=UTF-8
2025-11-12 22:08:45empty layer
USER nexus
2025-11-12 22:08:45empty layer
EXPOSE [8081/tcp]
2025-11-12 22:08:45empty layer
VOLUME [/nexus-data]
2025-11-12 22:08:45
RUN |3 NEXUS_VERSION=3.86.2-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.86.2-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=9b898ccb7c20f81cf172e25f52bf9f16272e7ba6a39ff62ee741cae312580eee /bin/sh -c microdnf remove -y gzip shadow-utils && rpm --erase --nodeps cups-libs && rpm --erase --nodeps expat # buildkit
2025-11-12 22:08:43
RUN |3 NEXUS_VERSION=3.86.2-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.86.2-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=9b898ccb7c20f81cf172e25f52bf9f16272e7ba6a39ff62ee741cae312580eee /bin/sh -c echo "#!/bin/bash" >> ${SONATYPE_DIR}/start-nexus-repository-manager.sh && echo "cd /opt/sonatype/nexus" >> ${SONATYPE_DIR}/start-nexus-repository-manager.sh && echo "exec ./bin/nexus run" >> ${SONATYPE_DIR}/start-nexus-repository-manager.sh && chmod a+x ${SONATYPE_DIR}/start-nexus-repository-manager.sh && chmod a+x ${SONATYPE_DIR}/nexus/bin/nexus && sed -e '/^nexus-context/ s:$:${NEXUS_CONTEXT}:' -i ${NEXUS_HOME}/etc/nexus-default.properties # buildkit2025-11-12 22:08:43
RUN |3 NEXUS_VERSION=3.86.2-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.86.2-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=9b898ccb7c20f81cf172e25f52bf9f16272e7ba6a39ff62ee741cae312580eee /bin/sh -c curl -L ${NEXUS_DOWNLOAD_URL} --output sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip && echo "${NEXUS_DOWNLOAD_SHA256_HASH} sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip" > sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip.sha256 && sha256sum -c sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip.sha256 && unzip sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip && rm -f sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip sonatype-nexus-repository-${NEXUS_VERSION}-assembly.zip.sha256 && mv nexus-${NEXUS_VERSION} $NEXUS_HOME && chown -R nexus:nexus ${SONATYPE_WORK} && mv ${SONATYPE_WORK}/nexus3 ${NEXUS_DATA} && ln -s ${NEXUS_DATA} ${SONATYPE_WORK}/nexus3 # buildkit