You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "shreemaan-abhishek (via GitHub)" <gi...@apache.org> on 2023/05/05 06:16:30 UTC

[GitHub] [apisix] shreemaan-abhishek commented on issue #9408: Development environment for mac

shreemaan-abhishek commented on issue #9408:
URL: https://github.com/apache/apisix/issues/9408#issuecomment-1535765855

   > 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.


-- 
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: notifications-unsubscribe@apisix.apache.org

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