Sign inSign up

hugohao/nexus3

By hugohao

•Updated about 8 years ago

Nexus Repository Manager 3

Image
0

10K+

hugohao/nexus3 repository overview

⁠hugoHao Docker:hugohao/nexus3

适用于 nexus3,基于CentOS7 + nexus 3.1.0

⁠运行

⁠请将公开的 8081 端口绑定到容器。

docker run -d -p 8081:8081 --name nexus3 hugohao/nexus3

⁠持久化数据

  1. 将主机目录挂载到 docker 容器中,这种方式必须在主机有实体目录,且不可移植。 mkdir -p /data/nexus-data && chmod -R 200 /data/nexus-data docker run -d -p 8081:8081 -v /data/nexus-data:/nexus-data --name nexus3 hugohao/nexus3

  2. 使用 docker volume。由于docker卷是持久性的,因此可以专门为此目的创建卷。 docker volume create --name nexus-data docker run -d -p 8081:8081 --name nexus -v nexus-data:/nexus-data hugohao/nexus3

⁠关于

默认的登录账号信息/密码为:admin/admin123 Nexus 的安装目录: /opt/sonatype/nexus 持久化目录(日志、存储): /nexus-data

Tag summary

Content type

Image

Digest

Size

215.7 MB

Last updated

about 8 years ago

docker pull hugohao/nexus3