美文网首页
docker 搭建 Sonatype Nexus Reposit

docker 搭建 Sonatype Nexus Reposit

作者: 晚熟的程序员 | 来源:发表于2020-05-21 12:52 被阅读0次

参考页面

https://github.com/sonatype/docker-nexus3

准备好本地目录

mkdir ~/nexus-data & chown -R 777 ~/nexus-data/

docker 启动

docker run -d -p 8082:8081 --name nexus -v ~/nexus-data:/nexus-data sonatype/nexus3

查看日志:

docker logs -f nexus

-------------------------------------------------

Started Sonatype Nexus OSS 3.23.0-03

-------------------------------------------------

查看页面

启动可能要几分钟,查看日志出现上面的提示,表示启动成功,这时可以查看页面:http://localhost:8082/

相关文章

网友评论

      本文标题:docker 搭建 Sonatype Nexus Reposit

      本文链接:https://www.haomeiwen.com/subject/rxwaohtx.html