{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/593","labels_url":"https://api.github.com/repos/docker/compose/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/593/comments","events_url":"https://api.github.com/repos/docker/compose/issues/593/events","html_url":"https://github.com/docker/compose/issues/593","id":47024641,"number":593,"title":"Support docker exec command","user":{"login":"k4nar","id":2692721,"avatar_url":"https://avatars.githubusercontent.com/u/2692721?v=3","gravatar_id":"","url":"https://api.github.com/users/k4nar","html_url":"https://github.com/k4nar","followers_url":"https://api.github.com/users/k4nar/followers","following_url":"https://api.github.com/users/k4nar/following{/other_user}","gists_url":"https://api.github.com/users/k4nar/gists{/gist_id}","starred_url":"https://api.github.com/users/k4nar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k4nar/subscriptions","organizations_url":"https://api.github.com/users/k4nar/orgs","repos_url":"https://api.github.com/users/k4nar/repos","events_url":"https://api.github.com/users/k4nar/events{/privacy}","received_events_url":"https://api.github.com/users/k4nar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":40,"created_at":"2014-10-28T13:20:49Z","updated_at":"2015-04-04T18:18:41Z","closed_at":null,"body":"I've just learned about the new docker [exec](https://docs.docker.com/reference/commandline/cli/#exec) command. Wouldn't it be great to add it to fig ?\r\n\r\nI think it really makes sense with fig, as you could run `fig up` and then exec some commands (like a shell) to debug your running containers if something happen.\r\nOf course this is already possible by running `docker exec -it your_container cmd`, but I think that it wouldn't hurt to have `fig exec service cmd`.\r\n\r\nI'll try to give it a shot and submit a PR."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/89633192","html_url":"https://github.com/docker/compose/issues/593#issuecomment-89633192","issue_url":"https://api.github.com/repos/docker/compose/issues/593","id":89633192,"user":{"login":"sandric","id":966443,"avatar_url":"https://avatars.githubusercontent.com/u/966443?v=3","gravatar_id":"","url":"https://api.github.com/users/sandric","html_url":"https://github.com/sandric","followers_url":"https://api.github.com/users/sandric/followers","following_url":"https://api.github.com/users/sandric/following{/other_user}","gists_url":"https://api.github.com/users/sandric/gists{/gist_id}","starred_url":"https://api.github.com/users/sandric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandric/subscriptions","organizations_url":"https://api.github.com/users/sandric/orgs","repos_url":"https://api.github.com/users/sandric/repos","events_url":"https://api.github.com/users/sandric/events{/privacy}","received_events_url":"https://api.github.com/users/sandric/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T18:18:41Z","updated_at":"2015-04-04T18:18:41Z","body":"@k4nar hm, must say I don't really understand what is interactive mode then, and how you can execute command without specifying service, which in turn run command on particular container. No, I meant that exactly `compose exec <service> ls` feature would be very handy, and it seems not much problems implementing it to me."}}