“制品库nexus”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
(创建页面,内容为“=ins= <pre> version: "3" services: nexus: image: sonatype/nexus3 volumes: - "nexus-data:/sonatype-work" ports: - "8081:8081" volumes:…”)
 
 
(未显示同一用户的3个中间版本)
第15行: 第15行:
  
 
</pre>
 
</pre>
 +
=cofnig=
 +
<pre>
 +
docker exec -i eab3067209b1 cat /nexus-data/admin.password
 +
7c44e3fc-c121-404b-b741-ed554b749fda
 +
</pre>
 +
 +
https://hub.docker.com/r/sonatype/nexus3
 +
 +
https://github.com/sonatype/docker-nexus/blob/main/docker-compose.yml
 +
[[category:devops]]

2024年9月27日 (五) 03:10的最新版本

ins

version: "3"

services:
  nexus:
    image: sonatype/nexus3
    volumes:
      - "nexus-data:/sonatype-work"
    ports:
      - "8081:8081"
  
volumes:
  nexus-data: {}

cofnig

docker exec -i eab3067209b1 cat /nexus-data/admin.password 
7c44e3fc-c121-404b-b741-ed554b749fda

https://hub.docker.com/r/sonatype/nexus3

https://github.com/sonatype/docker-nexus/blob/main/docker-compose.yml