{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2817","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/2817/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/2817/comments","events_url":"https://api.github.com/repos/docker/compose/issues/2817/events","html_url":"https://github.com/docker/compose/issues/2817","id":131196864,"number":2817,"title":"Containers started with --project-name set not affected by other commands","user":{"login":"drmacro","id":1004229,"avatar_url":"https://avatars.githubusercontent.com/u/1004229?v=3","gravatar_id":"","url":"https://api.github.com/users/drmacro","html_url":"https://github.com/drmacro","followers_url":"https://api.github.com/users/drmacro/followers","following_url":"https://api.github.com/users/drmacro/following{/other_user}","gists_url":"https://api.github.com/users/drmacro/gists{/gist_id}","starred_url":"https://api.github.com/users/drmacro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drmacro/subscriptions","organizations_url":"https://api.github.com/users/drmacro/orgs","repos_url":"https://api.github.com/users/drmacro/repos","events_url":"https://api.github.com/users/drmacro/events{/privacy}","received_events_url":"https://api.github.com/users/drmacro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/area/cli","name":"area/cli","color":"c7def8"},{"url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T00:11:02Z","updated_at":"2016-02-04T00:25:12Z","closed_at":null,"body":"Using docker-compose version 1.5.2, build 7240ff3 on OS X, if I use --project-name with \"up\", subsequent commands (stop, kill, pause) do not affect the containers. If I remove the --project-name the containers are affected as expected."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/179550092","html_url":"https://github.com/docker/compose/issues/2817#issuecomment-179550092","issue_url":"https://api.github.com/repos/docker/compose/issues/2817","id":179550092,"user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T00:25:12Z","updated_at":"2016-02-04T00:25:12Z","body":"You would need to provide `--project-name` to every command. The project name is what is used to isolate one instance from another, so if it's excluded the other commands think they are operating on a difference instance.\r\n\r\nYou can also set the environment variable `COMPOSE_PROJECT_NAME` so that you don't have to keep setting the command line flag.\r\n\r\n#745 is related. We should make some progress on that for the next release."}}