thor533 opened a new issue, #9408:
URL: https://github.com/apache/apisix/issues/9408

   ### Description
   
   I set up the apisix development environment locally to develop the plug-in, 
but I failed to mount the directory. The following error message is displayed:
   ```
   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
   ```
   I have all the correct paths, I have all worked properly under centos7,
   
   But right now my system is macos
   
![image](https://user-images.githubusercontent.com/62246176/236371636-75f8310f-89dd-40ed-8123-748572567959.png)
   
   Also, I use a personal user on the mac, because root can't use brew to 
install docker
   
   ### Environment
   
   - APISIX version (run `apisix version`):2.15-alpine
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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

Reply via email to