Backdocker.io/sonatype/nexus3
docker.io
docker.io/sonatype/nexus3:3.74.0
Sonatype Nexus Repository 3
Size
353.73 MB
Local pulls
10
Upstream pulls
200,776,911
Synced at
2026-08-15 09:31:52
China image
registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.74.0
Source image
docker.io/sonatype/nexus3:3.74.0
Image info
- Image ID
- sha256:ec9891ccacfc6540e0df714f02c787aeef254d7ee6e27060c2233bca9ed1d206
- Image tag
- 3.74.0
- Image size
- 353.73 MB
- Platform
- linux/amd64
- Registry
- docker.io
- Project
- Hub pageAll tagsLocal repo
- CMD
- /opt/sonatype/nexus/bin/nexus run
- Entrypoint
- —
- Working dir
- /opt/sonatype
- User
- nexus
- StopSignal
- —
- Created
- 2024-11-05T07:49:50.000Z
Exposed ports 1
- 8081/tcp
Volumes
- /nexus-data
Environment 9
| 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 |
| INSTALL4J_ADD_VM_PARAMS | -Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs |
Labels 25
| 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.74.0 |
| summary | The Nexus Repository Manager server with universal support for popular component formats. |
| vcs-ref | 4f8da2b64a13f2a264bd802d8909bf803211fb20 |
| version | 3.74.0-05 |
| vcs-type | git |
| build-date | 2024-09-17T13:42:02 |
| maintainer | Sonatype <support@sonatype.com> |
| description | The Nexus Repository Manager server with universal support for popular component formats. |
| architecture | x86_64 |
| base-image-ref | https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8?architecture=amd64&image=66e98c6a9dde6f49f88eac38 |
| com.sonatype.name | Nexus Repository Manager base image |
| io.openshift.tags | Sonatype,Nexus,Repository Manager |
| distribution-scope | public |
| io.buildah.version | 1.29.0 |
| 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 | ubi8-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 |
Pull commands
Docker
docker pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.74.0
docker tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.74.0 docker.io/sonatype/nexus3:3.74.0
Containerd
ctr images pull registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.74.0
ctr images tag registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.74.0 docker.io/sonatype/nexus3:3.74.0
YAML quick replace
sed -i 's#docker.io/sonatype/nexus3:3.74.0#registry.cn-global.starbucket.com.cn/starbucket/docker.io/sonatype/nexus3:3.74.0#' 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 40
2024-11-05 07:45:57empty layer
CMD ["/opt/sonatype/nexus/bin/nexus" "run"]
2024-11-05 07:45:57empty layer
ENV INSTALL4J_ADD_VM_PARAMS=-Xms2703m -Xmx2703m -XX:MaxDirectMemorySize=2703m -Djava.util.prefs.userRoot=/nexus-data/javaprefs
2024-11-05 07:45:57empty layer
USER nexus
2024-11-05 07:45:57empty layer
EXPOSE map[8081/tcp:{}]2024-11-05 07:45:57empty layer
VOLUME [/nexus-data]
2024-11-05 07:45:57
RUN |3 NEXUS_VERSION=3.74.0-05 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-3.74.0-05-unix.tar.gz NEXUS_DOWNLOAD_SHA256_HASH=ef855f29c2d2c4a2359559f2ab12937caee89ef93ba13f69c84be3e5f6067928 /bin/sh -c microdnf remove -y gzip shadow-utils # buildkit
2024-11-05 07:45:56
RUN |3 NEXUS_VERSION=3.74.0-05 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-3.74.0-05-unix.tar.gz NEXUS_DOWNLOAD_SHA256_HASH=ef855f29c2d2c4a2359559f2ab12937caee89ef93ba13f69c84be3e5f6067928 /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 && sed -e '/^nexus-context/ s:$:${NEXUS_CONTEXT}:' -i ${NEXUS_HOME}/etc/nexus-default.properties # buildkit2024-11-05 07:45:56
RUN |3 NEXUS_VERSION=3.74.0-05 NEXUS_DOWNLOAD_URL=https://download.sonatype.com/nexus/3/nexus-3.74.0-05-unix.tar.gz NEXUS_DOWNLOAD_SHA256_HASH=ef855f29c2d2c4a2359559f2ab12937caee89ef93ba13f69c84be3e5f6067928 /bin/sh -c sed -i '/^-Xms/d;/^-Xmx/d;/^-XX:MaxDirectMemorySize/d' $NEXUS_HOME/bin/nexus.vmoptions # buildkit