{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/37713","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/37713/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/37713/comments","events_url":"https://api.github.com/repos/moby/moby/issues/37713/events","html_url":"https://github.com/moby/moby/issues/37713","id":353612269,"node_id":"MDU6SXNzdWUzNTM2MTIyNjk=","number":37713,"title":"OCI runtime create failed: container_linux.go:348: starting container process caused \"exec: \\\"/registry\\\": executable file not found in $PATH\": unknown.","user":{"login":"katelynwang","id":12420005,"node_id":"MDQ6VXNlcjEyNDIwMDA1","avatar_url":"https://avatars2.githubusercontent.com/u/12420005?v=4","gravatar_id":"","url":"https://api.github.com/users/katelynwang","html_url":"https://github.com/katelynwang","followers_url":"https://api.github.com/users/katelynwang/followers","following_url":"https://api.github.com/users/katelynwang/following{/other_user}","gists_url":"https://api.github.com/users/katelynwang/gists{/gist_id}","starred_url":"https://api.github.com/users/katelynwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katelynwang/subscriptions","organizations_url":"https://api.github.com/users/katelynwang/orgs","repos_url":"https://api.github.com/users/katelynwang/repos","events_url":"https://api.github.com/users/katelynwang/events{/privacy}","received_events_url":"https://api.github.com/users/katelynwang/received_events","type":"User","site_admin":false},"labels":[{"id":73616520,"node_id":"MDU6TGFiZWw3MzYxNjUyMA==","url":"https://api.github.com/repos/moby/moby/labels/area/builder","name":"area/builder","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-24T01:39:08Z","updated_at":"2018-08-24T02:48:40Z","closed_at":null,"author_association":"NONE","body":"Run <code>docker run -d  --name test test</code>, I got the following error.\r\ndocker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused \"exec: \\\"/registry\\\": executable file not found in $PATH\": unknown.\r\n\r\ndocker info:\r\n```\r\nContainers: 7\r\n Running: 0\r\n Paused: 0\r\n Stopped: 7\r\nImages: 65\r\nServer Version: 18.03.1-ce\r\nStorage Driver: overlay2\r\n Backing Filesystem: extfs\r\n Supports d_type: true\r\n Native Overlay Diff: false\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge host macvlan null overlay\r\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nInit Binary: docker-init\r\ncontainerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88\r\nrunc version: 4fc53a81fb7c994640722ac585fa9ca548971871\r\ninit version: 949e6fa\r\nSecurity Options:\r\n seccomp\r\n  Profile: default\r\nKernel Version: 3.10.0-514.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 16\r\nTotal Memory: 62.25GiB\r\nName: CTU1000117562\r\nID: GFZZ:GSOG:WB7M:CGRO:BTOL:TAWE:HTQA:RVTG:3SMX:OB56:WQ6V:VJ63\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\nExperimental: false\r\nInsecure Registries:\r\n 127.0.0.0/8\r\nRegistry Mirrors:\r\n http://9f8a9340.m.daocloud.io/\r\nLive Restore Enabled: false\r\n\r\n```\r\n\r\ndocker version\r\n```\r\nClient:\r\n Version:      18.03.1-ce\r\n API version:  1.37\r\n Go version:   go1.9.5\r\n Git commit:   9ee9f40\r\n Built:        Thu Apr 26 07:20:16 2018\r\n OS/Arch:      linux/amd64\r\n Experimental: false\r\n Orchestrator: swarm\r\n\r\nServer:\r\n Engine:\r\n  Version:      18.03.1-ce\r\n  API version:  1.37 (minimum version 1.12)\r\n  Go version:   go1.9.5\r\n  Git commit:   9ee9f40\r\n  Built:        Thu Apr 26 07:23:58 2018\r\n  OS/Arch:      linux/amd64\r\n  Experimental: false\r\n```\r\n\r\n\r\n\r\nMy Dockerfile\r\n```\r\nFROM golang:1.10-alpine\r\n\r\nENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution\r\nENV DOCKER_BUILDTAGS include_oss include_gcs include_obs\r\n\r\nARG GOOS=linux\r\nARG GOARCH=amd64\r\n\r\nRUN set -ex \\\r\n    && apk add --no-cache make git\r\n\r\nWORKDIR $DISTRIBUTION_DIR\r\nCOPY . $DISTRIBUTION_DIR\r\nCOPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml\r\n\r\nRUN make PREFIX=/go clean binaries\r\n\r\nVOLUME [\"/var/lib/registry\"]\r\nEXPOSE 5000\r\nENTRYPOINT [\"registry\"]\r\nCMD [\"serve\", \"/etc/docker/registry/config.yml\"]\r\n```\r\n\r\nReally need some help and insights! Thx"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/415634935","html_url":"https://github.com/moby/moby/issues/37713#issuecomment-415634935","issue_url":"https://api.github.com/repos/moby/moby/issues/37713","id":415634935,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTYzNDkzNQ==","user":{"login":"cpuguy83","id":799078,"node_id":"MDQ6VXNlcjc5OTA3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/799078?v=4","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T02:48:40Z","updated_at":"2018-08-24T02:48:40Z","author_association":"CONTRIBUTOR","body":"\"make\" is in $PATH so the shell can execute it.\r\n\r\n\"Permission denied\" would usually mean that the execute but is not set."}}
{"actor":{"display_login":"cpuguy83"}}