Sonatype Nexus Repository Manager docker版本安装

docker 网址

https://hub.docker.com/r/sonatype/nexus3

拉取镜像

复制代码
docker pull sonatype/nexus3

创建docker

复制代码
docker run -d -p 8081:8081 --name nexus --restart always sonatype/nexus3

查看密码

复制代码
docker exec nexus cat /nexus-data/admin.password

导出docker image 镜像

复制代码
docker save -o nexus3.tar sonatype/nexus3:latest

导入docker 镜像

复制代码
docker load -i nexus3.tar

其他文章
Docker 安装Nexus3 快速搭建Maven私有仓库