docker搭建maven私服仓库

docker搭建maven私服仓库

1. 运行nexus

docker run -d -p 8081:8081 --name nexus -v /root/nexus-data:/var/nexus-data --restart=always sonatype/nexus3

2. 查看nexus运行日志

docker logs -f -t --tail=1000 CONTAINER_ID

3. 浏览器访问nexus

访问地址:http://ip:8081

在这里插入图片描述

到这里,maven私服仓库已经搭建完成,nexus的使用介绍请请参考:<>

发布了24 篇原创文章 · 获赞 15 · 访问量 9833

猜你喜欢

转载自blog.csdn.net/yangwenpei116/article/details/95617215