{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/23411","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/23411/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/23411/comments","events_url":"https://api.github.com/repos/docker/docker/issues/23411/events","html_url":"https://github.com/docker/docker/issues/23411","id":159436272,"number":23411,"title":"'/bin/bash' not found or does not exist..","user":{"login":"erik-landvall","id":839818,"avatar_url":"https://avatars.githubusercontent.com/u/839818?v=3","gravatar_id":"","url":"https://api.github.com/users/erik-landvall","html_url":"https://github.com/erik-landvall","followers_url":"https://api.github.com/users/erik-landvall/followers","following_url":"https://api.github.com/users/erik-landvall/following{/other_user}","gists_url":"https://api.github.com/users/erik-landvall/gists{/gist_id}","starred_url":"https://api.github.com/users/erik-landvall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erik-landvall/subscriptions","organizations_url":"https://api.github.com/users/erik-landvall/orgs","repos_url":"https://api.github.com/users/erik-landvall/repos","events_url":"https://api.github.com/users/erik-landvall/events{/privacy}","received_events_url":"https://api.github.com/users/erik-landvall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.11","name":"version/1.11","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-09T15:24:46Z","updated_at":"2016-06-09T15:59:15Z","closed_at":null,"body":"**Output of `docker version`:**\r\n```\r\n$ docker version\r\nClient:\r\n Version:      1.11.2\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   b9f10c9\r\n Built:        Wed Jun  1 21:23:39 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.11.2\r\n API version:  1.23\r\n Go version:   go1.5.4\r\n Git commit:   b9f10c9\r\n Built:        Wed Jun  1 21:23:39 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n**Output of `docker info`:**\r\n```\r\n$ docker info\r\nContainers: 12\r\n Running: 11\r\n Paused: 0\r\n Stopped: 1\r\nImages: 11\r\nServer Version: 1.11.2\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 129\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins: \r\n Volume: local\r\n Network: host bridge null\r\nKernel Version: 3.16.0-4-amd64\r\nOperating System: Debian GNU/Linux 8 (jessie)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 15.65 GiB\r\nName: work\r\nID: DMDC:CFRR:PTYM:R6AR:CSRJ:VNQ5:HGGV:SATM:TY3K:ZRDW:R77U:T646\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\nWARNING: No memory limit support\r\nWARNING: No swap limit support\r\nWARNING: No kernel memory limit support\r\nWARNING: No oom kill disable support\r\nWARNING: No cpu cfs quota support\r\nWARNING: No cpu cfs period support\r\n```\r\n\r\n**Steps to reproduce the issue:**\r\n**Describe the results you received:**\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n```\r\ndocker run \\\r\n  --name        adamo.tests.integration.php \\\r\n  --publish     127.0.8.1:8080:80 \\\r\n  --volume      `pwd`/../component/tests/php/integration:/var/www \\\r\n  --detach \\\r\n  php:apache /bin/bash -c \"echo foobar;\"\r\n```\r\n\r\nreturns `docker: Error response from daemon: Container command '/bin/bash' not found or does not exist..` but when I don't mount the volume. It works just fine... as you can see when listing the containers:\r\n\r\n```\r\n$ docker ps -a\r\nCONTAINER ID        IMAGE               COMMAND                   CREATED             STATUS              PORTS                                            NAMES\r\na7686f8ffe57        php:apache          \"/bin/bash -c 'echo f\"    2 minutes ago       Created                                                              adamo.tests.integration.php\r\n842c5b443ca3        php:apache          \"/bin/bash -c '\\n    s\"   40 minutes ago      Up 40 minutes       127.0.4.1:8080->80/tcp                           adamo.wholesale\r\n```\r\n\r\nI believe this is a bug, and a very strange one imo.. The volume I'm mounting has 1 php script in it."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/224941507","html_url":"https://github.com/docker/docker/issues/23411#issuecomment-224941507","issue_url":"https://api.github.com/repos/docker/docker/issues/23411","id":224941507,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","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":"2016-06-09T15:59:15Z","updated_at":"2016-06-09T15:59:15Z","body":"It looks like the daemon logs should have the correct error in it."}}
{"actor":{"display_login":"cpuguy83"}}