docker 配置sonatype/nexus3


docker search nexus
docker pull sonatype/nexus3
mkdir -p /dockermaven/nexus-data
chmod -R 777 /dockermaven
chmod -R 777 /dockermaven/nexus-data

docker run -d -p 4995-4998:8081-8084 --name nexus3 -v /dockermaven/nexus-data:/nexus-data --restart=always sonatype/nexus3

docker stop nexus3 |xargs docker rm
docker stop nexus |xargs docker rm

docker logs -f nexus3


netstat -an | grep 4995

 

https://blog.51cto.com/daibaiyang119/2147894

https://blog.csdn.net/lusyoe/article/details/54926937

https://www.jianshu.com/p/6139ede291d2

https://blog.csdn.net/lanwp5302/article/details/86517301

https://blog.csdn.net/buptzhengchaojie/article/details/51683672

https://www.cnblogs.com/yhaing/p/8568058.html

https://blog.csdn.net/mshaiting/article/details/80392575

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM