docker nexus3安装和配置

nexus3

docker-compose.yml

1
2
3
4
5
6
7
8
9
10
11
12
version: "3.8"

services:
nexus3:
container_name: ts_nexus3
image: sonatype/nexus3:3.26.1
ports:
- "8081:8081"
volumes:
- "./data:/nexus-data"
- "/etc/localtime:/etc/localtime"
restart: always

问题:Error creating bundle cache.
Unable to update instance pid: Unable to create directory /nexus-data/instances

解决:sudo chmod -R 775 data/

  • 本文作者: forever杨
  • 本文链接: https://blog.yl-online.top/posts/5ed27d2e.html
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。如果文章内容对你有用,请记录到你的笔记中。本博客站点随时会停止服务,请不要收藏、转载!