Nexus3 Repoistory
-
创建nexus3用户
useradd -m nexus3
-
编写docker-compose.yaml
services: nexus3-repoistory: image: sonatype/nexus3 container_name: nexus3-repoistory environment: - TZ=Asia/Shanghai - INSTALL4J_ADD_VM_PARAMS=-Xms512m -Xmx2g volumes: - /home/nexus3/data:/nexus-data restart: always network_mode: host
-
设置HTTP代理
-
设置docker远程仓库