0

我已经使用 docker-compose.yml 在 podman 上安装了 Harbor。但是由于权限问题,一些容器不断重启,知道为什么或者我做错了什么吗?

2021/06/09 11:30:34 [emerg] 1#0: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
2021/06/09 11:30:35 [emerg] 1#0: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
2021/06/09 11:30:37 [emerg] 1#0: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
2021/06/09 11:30:38 [emerg] 1#0: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
2021/06/09 11:30:40 [emerg] 1#0: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
2021/06/09 11:30:41 [emerg] 1#0: open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (13: Permission denied)
=====================
rsyslogd: there are no active actions configured. Inputs would run, but no output whatsoever were created. [v8.1910.0 try https://www.rsyslog.com/e/2103 ]
rsyslogd: run failed with error -2103 (see rsyslog.h or try https://www.rsyslog.com/e/2103 to learn what that number means)
rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 63: error accessing config file or directory '/etc/rsyslog.d/rsyslog_docker.conf' [cwd: /]: Permission denied [v8.1910.0 try https://www.rsyslog.com/e/2207 ]
rsyslogd: there are no active actions configured. Inputs would run, but no output whatsoever were created. [v8.1910.0 try https://www.rsyslog.com/e/2103 ]
rsyslogd: run failed with error -2103 (see rsyslog.h or try https://www.rsyslog.com/e/2103 to learn what that number means)
=======================
2021-06-09T11:32:22Z [FATAL] [/registryctl/main.go:78]: Failed to load configurations with error: open /etc/registryctl/config.yml: permission denied
Appending internal tls trust CA to ca-bundle ...
Internal tls trust CA appending is Done.
find: /etc/harbor/ssl: No such file or directory
ls: /harbor_cust_cert: Permission denied
======================
2021-06-09T11:33:00Z [INFO] [/replication/adapter/githubcr/adapter.go:29]: the factory for adapter github-ghcr registered
2021-06-09T11:33:00Z [INFO] [/core/controllers/base.go:299]: Config path: /etc/core/app.conf
2021-06-09T11:33:00Z [ERROR] [/core/controllers/base.go:301]: failed to load app config: open /etc/core/app.conf: permission denied
2021-06-09T11:33:00Z [INFO] [/core/main.go:164]: initializing cache ...
2021-06-09T11:33:00Z [INFO] [/core/main.go:171]: initializing configurations...
CONTAINER ID  IMAGE                                         COMMAND               CREATED         STATUS                             PORTS                                                                   NAMES
8307d2f1712c  docker.io/goharbor/harbor-log:v2.2.1          /bin/sh -c /usr/l...  44 minutes ago  Exited (1) Less than a second ago  0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  harbor-log
0e5379004102  docker.io/goharbor/registry-photon:v2.2.1                           43 minutes ago  Up 1 second ago                    0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  registry
727a7bb63b38  docker.io/goharbor/harbor-registryctl:v2.2.1                        43 minutes ago  Up Less than a second ago          0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  registryctl
e4afd7e1e371  docker.io/goharbor/harbor-db:v2.2.1                                 42 minutes ago  Up 42 minutes ago                  0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  harbor-db
7f31e4ba7bf1  docker.io/goharbor/harbor-portal:v2.2.1       nginx -g daemon o...  42 minutes ago  Exited (1) Less than a second ago  0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  harbor-portal
34812d06153c  docker.io/goharbor/redis-photon:v2.2.1        redis-server /etc...  41 minutes ago  Up 41 minutes ago                  0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  redis
68a8f510c552  docker.io/goharbor/harbor-core:v2.2.1                               41 minutes ago  Exited (2) 1 second ago            0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  harbor-core
918416b60f28  docker.io/goharbor/harbor-jobservice:v2.2.1                         40 minutes ago  Exited (2) Less than a second ago  0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  harbor-jobservice
17a870903cc2  docker.io/goharbor/nginx-photon:v2.2.1        nginx -g daemon o...  40 minutes ago  Exited (1) 1 second ago            0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp, 127.0.0.1:1514->10514/tcp  nginx

4

0 回答 0