Backdocker.io/sonatype/nexus3
docker.io

docker.io/sonatype/nexus3:3.93.2

Sonatype Nexus Repository 3

Size
445.89 MB
Local pulls
10
Upstream pulls
200,776,911
Synced at
2026-08-15 09:20:35

China image

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

Source image

docker.io/sonatype/nexus3:3.93.2

Image info

Image ID
sha256:d9166328c3d959a01954826f664fbb00ee7f5b7a4a24b0ddd81970d659fddf9a
Image tag
3.93.2
Image size
445.89 MB
Platform
linux/arm64
Registry
docker.io
CMD
/opt/sonatype/nexus/bin/nexus run
Entrypoint
Working dir
/opt/sonatype
User
nexus
StopSignal
Created
2026-06-25T21:09:25.038Z

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.93.2
summaryThe Nexus Repository Manager server with universal support for popular component formats.
version3.93.2-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.93.2
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.93.2 docker.io/sonatype/nexus3:3.93.2
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.93.2
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.93.2 docker.io/sonatype/nexus3:3.93.2
YAML quick replace
sed -i 's#docker.io/sonatype/nexus3:3.93.2#registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.93.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 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-06-25 21:08:57empty layer
CMD ["/opt/sonatype/nexus/bin/nexus" "run"]
2026-06-25 21:08:57empty layer
ENV INSTALL4J_ADD_VM_PARAMS=-Djava.util.prefs.userRoot=/nexus-data/javaprefs
2026-06-25 21:08:57empty layer
USER nexus
2026-06-25 21:08:57empty layer
EXPOSE [8081/tcp]
2026-06-25 21:08:57empty layer
VOLUME [/nexus-data]
2026-06-25 21:08:57
RUN |3 NEXUS_VERSION=3.93.2-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.93.2-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=33fe319b32bea824eae8e208fee0970a4d2cb483b6a4a8a9227a66fb94897bb3 /bin/sh -c apk del gzip shadow # buildkit
2026-06-25 21:08:56
RUN |3 NEXUS_VERSION=3.93.2-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.93.2-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=33fe319b32bea824eae8e208fee0970a4d2cb483b6a4a8a9227a66fb94897bb3 /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-06-25 21:08:56
RUN |3 NEXUS_VERSION=3.93.2-01 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/sonatype-nexus-repository-3.93.2-01-assembly.zip NEXUS_DOWNLOAD_SHA256_HASH=33fe319b32bea824eae8e208fee0970a4d2cb483b6a4a8a9227a66fb94897bb3 /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