基于docker自建nexus私服
系统: ubuntu-18.04.3-live-server-amd64
下载nexus镜像
docker pull sonatype/nexus3:3.20.1
编写docker-compose.yml
docker-compose.yml
version: '3'
services:
nexus:
image : 'sonatype/nexus3:3.20.1'
restart: always
ports:
- 8081:8081
volumes:
- data:/nexus-data
volumes:
data:
启动
docker-compose up -d