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

 

posted @ 2019-08-03 15:51  点点_滴滴  阅读(2041)  评论(0编辑  收藏  举报