Skip to content

sonatype/nexus3 镜像

镜像列表

docker-compose.yml 脚本
yaml
#
# mkdir -p /srv/nexus
#
# export NEXUS_HOME=/srv/nexus  && chown -R 200 $NEXUS_HOME && docker compose up -d
# export NEXUS_HOME=`pwd`       && chown -R 200 $NEXUS_HOME && echo $NEXUS_HOME && docker compose up -d
# 默认密码位置:
# cat /srv/nexus/nexus-data/admin.password && echo
# cat ./nexus-data/admin.password && echo
#
services:
  nexus:
    # image: 'sonatype/nexus3:3.71.0'
    image: 'registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.71.0'
    restart: always
    ports:
      - '48081:8081'
      - '48443:8443'
      - '48500-48550:48500-48550'
    volumes:
      - '$NEXUS_HOME/nexus-data:/nexus-data'
    container_name: nexus
镜像说明
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.73.0
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.71.03.71.0 代表版本号,不兼容升级
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.70.13.70.1 代表版本号
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.70.0
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.69.0
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.68.1
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.67.1
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.66.0
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.60.0
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.59.0
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.58.1
registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.38.1
shell
sudo mkdir -p /nexus-data
sudo chown -R 200 /nexus-data

sudo docker run \
  -itd \
  --restart always \
  --name nexus3-3.71.0 \
  -p 48081:8081 \
  -p 48443:8443 \
  -p 48500-48550:48500-48550 \
  -v /nexus-data:/nexus-data \
  -d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nexus3:3.71.0

# 默认密码位置:cat /nexus-data/admin.password && echo

author

NameFormatTypeHTTPHTTPSVersion policyRemote storage
docker-hosteddockerhosted4850048501
maven-aliyunmaven2proxyReleasehttps://maven.aliyun.com/repository/public
maven-apachemaven2proxyReleasehttps://repo.maven.apache.org/maven2/
maven-apache-releasesmaven2proxyReleasehttps://repository.apache.org/content/repositories/releases/
maven-apache-snapshotsmaven2proxySnapshothttps://repository.apache.org/content/repositories/snapshots/
maven-centralmaven2proxyReleasehttps://repo1.maven.org/maven2/
maven-huaweicloudmaven2proxyReleasehttps://mirrors.huaweicloud.com/repository/maven/
maven-publicmaven2groupMixed
maven-releasesmaven2hostedRelease
maven-shibboleth-releasesmaven2proxyReleasehttps://build.shibboleth.net/maven/releases/
maven-shibboleth-snapshotsmaven2proxySnapshothttps://build.shibboleth.net/maven/snapshots/
maven-snapshotsmaven2hostedSnapshot
maven-sonatype-publicmaven2proxyMixedhttps://oss.sonatype.org/content/repositories/public/
maven-sonatype-public-s01maven2proxyMixedhttps://s01.oss.sonatype.org/content/repositories/public/
maven-spring-snapshotsmaven2proxySnapshothttps://repo.spring.io/snapshot
maven-tencentmaven2proxyReleasehttps://mirrors.cloud.tencent.com/nexus/repository/maven-public
maven-topiammaven2proxyMixedhttps://pingfangushi-maven.pkg.coding.net/repository/topiam/public/
rawrawhosted
raw-gradlerawproxyhttps://mirrors.cloud.tencent.com/gradle