{"action":"created","issue":{"url":"https://api.github.com/repos/stage1/docker-php/issues/77","labels_url":"https://api.github.com/repos/stage1/docker-php/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/stage1/docker-php/issues/77/comments","events_url":"https://api.github.com/repos/stage1/docker-php/issues/77/events","html_url":"https://github.com/stage1/docker-php/issues/77","id":54552773,"number":77,"title":"docker exec equivalent? POST /containers/(id)/exec","user":{"login":"Boran","id":405059,"avatar_url":"https://avatars.githubusercontent.com/u/405059?v=3","gravatar_id":"","url":"https://api.github.com/users/Boran","html_url":"https://github.com/Boran","followers_url":"https://api.github.com/users/Boran/followers","following_url":"https://api.github.com/users/Boran/following{/other_user}","gists_url":"https://api.github.com/users/Boran/gists{/gist_id}","starred_url":"https://api.github.com/users/Boran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boran/subscriptions","organizations_url":"https://api.github.com/users/Boran/orgs","repos_url":"https://api.github.com/users/Boran/repos","events_url":"https://api.github.com/users/Boran/events{/privacy}","received_events_url":"https://api.github.com/users/Boran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-16T08:53:32Z","updated_at":"2015-01-26T14:23:33Z","closed_at":null,"body":"Is there a way in docker-php to do run  a command within a container, the equivalent of:\r\ndocker exec mycontainer sh -c 'cd /var/www/html; git status'\r\n\r\nvia the API: POST /containers/(id)/exec \r\nhttp://docs.docker.com/reference/api/docker_remote_api_v1.16/#exec-create\r\n\r\nThere is no equivalent yet in ContainerManager.php ?"},"comment":{"url":"https://api.github.com/repos/stage1/docker-php/issues/comments/71467288","html_url":"https://github.com/stage1/docker-php/issues/77#issuecomment-71467288","issue_url":"https://api.github.com/repos/stage1/docker-php/issues/77","id":71467288,"user":{"login":"joelwurtz","id":90466,"avatar_url":"https://avatars.githubusercontent.com/u/90466?v=3","gravatar_id":"","url":"https://api.github.com/users/joelwurtz","html_url":"https://github.com/joelwurtz","followers_url":"https://api.github.com/users/joelwurtz/followers","following_url":"https://api.github.com/users/joelwurtz/following{/other_user}","gists_url":"https://api.github.com/users/joelwurtz/gists{/gist_id}","starred_url":"https://api.github.com/users/joelwurtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelwurtz/subscriptions","organizations_url":"https://api.github.com/users/joelwurtz/orgs","repos_url":"https://api.github.com/users/joelwurtz/repos","events_url":"https://api.github.com/users/joelwurtz/events{/privacy}","received_events_url":"https://api.github.com/users/joelwurtz/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T14:23:32Z","updated_at":"2015-01-26T14:23:32Z","body":"Like @hacfi there is no equivalent in docker-php, but normally all the tool are present to facilitate the creation of this api (InteractiveStream and Callback filtering)"}}