for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

run tyk-gateway failed.

Open Ruiya opened this issue 8 years ago • 2 comments

Please, check https://docs.docker.com/docker-for-mac/troubleshoot/. Issues without logs and details cannot be debugged, and will be closed.

  • [√ ] I have tried with the latest version of my channel (Stable or Edge)
  • [√] I have submitted Diagnostics
  • [√ ] I have included the Diagnostics ID in this Issue

Expected behavior

run ok.

Actual behavior

run error.

Information

955E1699-D7BD-421B-811E-653E6943A109 Docker for Mac: version: 18.03.0-ce-mac58 (dd2831d4b7421cf559a0881cc7a5fdebeb8c2b98) macOS: version 10.13.4 (build: 17E199) logs: /tmp/955E1699-D7BD-421B-811E-653E6943A109/20180403-131720.tar.gz [OK] vpnkit [OK] vmnetd [OK] dns [OK] driver.amd64-linux [OK] virtualization VT-X [OK] app [OK] moby [OK] system [OK] moby-syslog [ERROR] kubernetes

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused "rootfs_linux.go:58: mounting \"/Users/wangwenrui/tyk.standalone.conf\" to rootfs \"/var/lib/docker/overlay2/ee9c18713ac3134a93b5429843a873e2d6ce59a538fba2df3e175ef2f1bf87d3/merged\" at \"/var/lib/docker/overlay2/ee9c18713ac3134a93b5429843a873e2d6ce59a538fba2df3e175ef2f1bf87d3/merged/opt/tyk-gateway/tyk.conf\" caused \"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.

Steps to reproduce the behavior

  1. docker run -d --name tyk_redis redis
  2. docker run -d --name tyk_gateway -p 8080:8080 --link tyk_redis:redis -v $(pwd)/tyk.standalone.conf:/opt/tyk-gateway/tyk.conf -v $(pwd)/apps:/opt/tyk-gateway/apps tykio/tyk-gateway

Ruiya avatar Apr 03 '18 05:04 Ruiya

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Jul 30 '18 14:07 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 28 '20 03:06 docker-robott