Backdocker.io/sonatype/nexus3
docker.io

docker.io/sonatype/nexus3:3.92.3

Sonatype Nexus Repository 3

Size
450.86 MB
Local pulls
10
Upstream pulls
200,776,911
Synced at
2026-08-15 09:22:07

China image

registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.92.3

Source image

docker.io/sonatype/nexus3:3.92.3

Image info

Image ID
sha256:4531a9d4be6c9c09c115d14361f4268d62bee4f69761fa02ebf7420876555a7d
Image tag
3.92.3
Image size
450.86 MB
Platform
linux/arm64
Registry
docker.io
CMD
/opt/sonatype/nexus/bin/nexus run
Entrypoint
Working dir
/opt/sonatype
User
nexus
StopSignal
Created
2026-05-27T09:25:54.282Z

Exposed ports 1

  • 8081/tcp

Volumes

  • /nexus-data

Environment 8

PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SONATYPE_DIR/opt/sonatype
NEXUS_HOME/opt/sonatype/nexus
NEXUS_DATA/nexus-data
NEXUS_CONTEXT
SONATYPE_WORK/opt/sonatype/sonatype-work
DOCKER_TYPEalpine
INSTALL4J_ADD_VM_PARAMS-Djava.util.prefs.userRoot=/nexus-data/javaprefs

Labels 16

rundocker run -d --name NAME -p 8081:8081 IMAGE
urlhttps://sonatype.com
nameNexus Repository Manager
stopdocker stop NAME
vendorSonatype
release3.92.3
summaryThe Nexus Repository Manager server with universal support for popular component formats.
version3.92.3-01
maintainerSonatype <support@sonatype.com>
descriptionThe Nexus Repository Manager server with universal support for popular component formats.
com.sonatype.nameNexus Repository Manager base image
io.openshift.tagsSonatype,Nexus,Repository Manager
io.k8s.descriptionThe Nexus Repository Manager server with universal support for popular component formats.
io.k8s.display-nameNexus Repository Manager
com.sonatype.licenseApache License, Version 2.0
io.openshift.expose-services8081:8081

Pull commands

Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.92.3
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.92.3 docker.io/sonatype/nexus3:3.92.3
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.92.3
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.92.3 docker.io/sonatype/nexus3:3.92.3
YAML quick replace
sed -i 's#docker.io/sonatype/nexus3:3.92.3#registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.92.3#' 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 docker
Containerd

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 20

2026-05-27 09:25:24empty layer
CMD ["/opt/sonatype/nexus/bin/nexus" "run"]
2026-05-27 09:25:24empty layer
ENV INSTALL4J_ADD_VM_PARAMS=-Djava.util.prefs.userRoot=/nexus-data/javaprefs
2026-05-27 09:25:24empty layer
USER nexus
2026-05-27 09:25:24empty layer
EXPOSE [8081/tcp]
2026-05-27 09:25:24empty layer
VOLUME [/nexus-data]
2026-05-27 09:25:24
RUN |3 NEXUS_VERSION=3.92.3-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.92.3-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=caded86922ae24e807ad56150a4c174ead973c94fb46339022a057811183dbcd /bin/sh -c apk del gzip shadow # buildkit
2026-05-27 09:25:22
RUN |3 NEXUS_VERSION=3.92.3-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.92.3-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=caded86922ae24e807ad56150a4c174ead973c94fb46339022a057811183dbcd /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 # buildkit
2026-05-27 09:25:22
RUN |3 NEXUS_VERSION=3.92.3-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.92.3-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=caded86922ae24e807ad56150a4c174ead973c94fb46339022a057811183dbcd /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