thor533 commented on issue #9408: URL: https://github.com/apache/apisix/issues/9408#issuecomment-1535838425
> > This is the mount > > ``` > > services: > > apisix-dashboard: > > image: apache/apisix-dashboard:2.13-alpine > > restart: always > > volumes: > > - ./dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml > > ports: > > - "9000:9000" > > networks: > > apisix: > > ``` > > The mount shown by you in this configuration does not match the error that you show. > > `Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/usr/local/NetAuth_APIG/dashboard_conf/conf.yaml" to rootfs at "/usr/local/apisix-dashboard/conf/conf.yaml": mount /usr/local/NetAuth_APIG/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml (via /proc/self/fd/9), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ` This error usually occurs when you provide an incorrect path for mount. Please re-check your configuration. Hi ,the path is correct!  The system is macos big sur 11.3,and I ran it using non-root? Can you take a look at it for me? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
