【文件属性】:
文件名称:docker-nexus:Sonatype Nexus 的 Docker 镜像
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-30 05:38:06
lifecycle-integrations Dockerfile
sonatype/docker-nexus
带有 OpenJDK 的 Sonatype Nexus Repository Manager 2 的 Docker 镜像,从 2.14.14 开始,用作基础镜像,而早期版本使用 CentOS。 对于 Nexus Repository Manager 3,请参考
构建:
# docker build --rm --tag sonatype/nexus oss/
# docker build --rm --tag sonatype/nexus-pro pro/
运行(如果您的主机上打开了端口 8081):
# docker run -d -p 8081:8081 --name nexus sonatype/nexus:oss
要确定容器正在侦听的端口:
# docker ps -l
去测试:
$ curl http://localh
【文件预览】:
docker-nexus-master
----pro()
--------Dockerfile(2KB)
----LICENSE(569B)
----README.md(5KB)
----Jenkinsfile(6KB)
----SECURITY.md(3KB)
----docker-compose.yml(169B)
----oss()
--------Dockerfile(2KB)