{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/3531","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/3531/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/3531/comments","events_url":"https://api.github.com/repos/docker/compose/issues/3531/events","html_url":"https://github.com/docker/compose/issues/3531","id":157614125,"number":3531,"title":"Docker-compose not able to get into bash if using entrypoint","user":{"login":"tarunlalwani","id":5294143,"avatar_url":"https://avatars.githubusercontent.com/u/5294143?v=3","gravatar_id":"","url":"https://api.github.com/users/tarunlalwani","html_url":"https://github.com/tarunlalwani","followers_url":"https://api.github.com/users/tarunlalwani/followers","following_url":"https://api.github.com/users/tarunlalwani/following{/other_user}","gists_url":"https://api.github.com/users/tarunlalwani/gists{/gist_id}","starred_url":"https://api.github.com/users/tarunlalwani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarunlalwani/subscriptions","organizations_url":"https://api.github.com/users/tarunlalwani/orgs","repos_url":"https://api.github.com/users/tarunlalwani/repos","events_url":"https://api.github.com/users/tarunlalwani/events{/privacy}","received_events_url":"https://api.github.com/users/tarunlalwani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/area/run","name":"area/run","color":"c7def8"},{"url":"https://api.github.com/repos/docker/compose/labels/kind/enhancement","name":"kind/enhancement","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-05-31T08:15:16Z","updated_at":"2016-07-11T10:08:15Z","closed_at":null,"body":"I have a simple docker-compose.yml file\r\n\r\n```yml\r\nversion: '2'\r\n\r\nservices:\r\n  test:\r\n     image: centos:6.7\r\n     entrypoint: echo\r\n     command: echo From compose\r\n```\r\n\r\nNow below is the command i execute\r\n\r\n```bash\r\n[root@localhost test-compose]# docker-compose run test\r\necho From compose\r\n[root@localhost test-compose]# docker-compose run test this is best\r\nthis is best\r\n[root@localhost test-compose]# docker-compose run --entrypoint \"\" test /bin/bash\r\n/bin/bash\r\n[root@localhost test-compose]# docker-compose run --entrypoint /bin/bash test\r\n/bin/echo: /bin/echo: cannot execute binary file\r\n[root@localhost test-compose]# docker-compose run --entrypoint /bin/bash test \"\"\r\n/bin/echo: /bin/echo: cannot execute binary file\r\n```\r\n\r\nAs you can see I am not able to get into bash any how. I am using Docker 1.11.1. If any more is needed please let me know"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/231694072","html_url":"https://github.com/docker/compose/issues/3531#issuecomment-231694072","issue_url":"https://api.github.com/repos/docker/compose/issues/3531","id":231694072,"user":{"login":"marpada","id":2384745,"avatar_url":"https://avatars.githubusercontent.com/u/2384745?v=3","gravatar_id":"","url":"https://api.github.com/users/marpada","html_url":"https://github.com/marpada","followers_url":"https://api.github.com/users/marpada/followers","following_url":"https://api.github.com/users/marpada/following{/other_user}","gists_url":"https://api.github.com/users/marpada/gists{/gist_id}","starred_url":"https://api.github.com/users/marpada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpada/subscriptions","organizations_url":"https://api.github.com/users/marpada/orgs","repos_url":"https://api.github.com/users/marpada/repos","events_url":"https://api.github.com/users/marpada/events{/privacy}","received_events_url":"https://api.github.com/users/marpada/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T10:08:15Z","updated_at":"2016-07-11T10:08:15Z","body":"+1"}}
{"actor":{"display_login":"marpada"}}