bzp2010 opened a new issue #294:
URL: https://github.com/apache/incubator-apisix-dashboard/issues/294


   Here are some logs
   > etcd_1  | 2020-07-02 02:16:03.053586 I | pkg/flags: recognized and used 
environment variable ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379
   etcd_1  | 2020-07-02 02:16:03.053788 I | pkg/flags: recognized and used 
environment variable ETCD_DATA_DIR=/etcd_data
   etcd_1  | 2020-07-02 02:16:03.053820 I | pkg/flags: recognized and used 
environment variable ETCD_ENABLE_V2=true
   etcd_1  | 2020-07-02 02:16:03.053870 I | pkg/flags: recognized and used 
environment variable ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
   etcd_1  | [WARNING] Deprecated '--logger=capnslog' flag is set; use 
'--logger=zap' flag instead
   etcd_1  | 2020-07-02 02:16:03.053943 I | etcdmain: etcd Version: 3.4.9
   etcd_1  | 2020-07-02 02:16:03.053968 I | etcdmain: Git SHA: 54ba95891
   etcd_1  | 2020-07-02 02:16:03.053992 I | etcdmain: Go Version: go1.12.17
   etcd_1  | 2020-07-02 02:16:03.054016 I | etcdmain: Go OS/Arch: linux/amd64
   etcd_1  | 2020-07-02 02:16:03.054054 I | etcdmain: setting maximum number of 
CPUs to 8, total number of available CPUs is 8
   etcd_1  | 2020-07-02 02:16:03.054148 N | etcdmain: the server is already 
initialized as member before, starting as etcd member...
   etcd_1  | [WARNING] Deprecated '--logger=capnslog' flag is set; use 
'--logger=zap' flag instead
   etcd_1  | 2020-07-02 02:16:03.055306 I | embed: name = default
   etcd_1  | 2020-07-02 02:16:03.055378 I | embed: data dir = /etcd_data
   etcd_1  | 2020-07-02 02:16:03.055404 I | embed: member dir = 
/etcd_data/member
   etcd_1  | 2020-07-02 02:16:03.055429 I | embed: heartbeat = 100ms
   etcd_1  | 2020-07-02 02:16:03.055453 I | embed: election = 1000ms
   etcd_1  | 2020-07-02 02:16:03.055505 I | embed: snapshot count = 100000
   etcd_1  | 2020-07-02 02:16:03.055539 I | embed: advertise client URLs = 
http://0.0.0.0:2379
   etcd_1  | 2020-07-02 02:16:03.055710 C | etcdmain: cannot access data 
directory: open /etcd_data/.touch: permission denied
   
   Based on the last sentence of the log, I think the docker compose file 
should be modified to make the etcd container run in non-root mode.
   [Document About Non-Root 
Container](https://docs.bitnami.com/tutorials/work-with-non-root-containers/#using-non-root-containers-as-root-containers)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to