{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/6316","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/6316/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/6316/comments","events_url":"https://api.github.com/repos/docker/compose/issues/6316/events","html_url":"https://github.com/docker/compose/issues/6316","id":376881016,"node_id":"MDU6SXNzdWUzNzY4ODEwMTY=","number":6316,"title":"The default naming scheme for containers created by Compose","user":{"login":"j4r3kb","id":16531572,"node_id":"MDQ6VXNlcjE2NTMxNTcy","avatar_url":"https://avatars0.githubusercontent.com/u/16531572?v=4","gravatar_id":"","url":"https://api.github.com/users/j4r3kb","html_url":"https://github.com/j4r3kb","followers_url":"https://api.github.com/users/j4r3kb/followers","following_url":"https://api.github.com/users/j4r3kb/following{/other_user}","gists_url":"https://api.github.com/users/j4r3kb/gists{/gist_id}","starred_url":"https://api.github.com/users/j4r3kb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j4r3kb/subscriptions","organizations_url":"https://api.github.com/users/j4r3kb/orgs","repos_url":"https://api.github.com/users/j4r3kb/repos","events_url":"https://api.github.com/users/j4r3kb/events{/privacy}","received_events_url":"https://api.github.com/users/j4r3kb/received_events","type":"User","site_admin":false},"labels":[{"id":69777239,"node_id":"MDU6TGFiZWw2OTc3NzIzOQ==","url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2018-11-02T16:28:00Z","updated_at":"2018-11-20T05:30:42Z","closed_at":null,"author_association":"NONE","body":"> The default naming scheme for containers created by Compose in this version\r\n> has changed from `<project>_<service>_<index>` to\r\n> `<project>_<service>_<index>_<slug>`\r\n\r\nIs there any way to disable this behavior apart from using `container_name` in yaml file?\r\nWe have many scripts that rely on container names and are not using swarm, just a single container stack. This change is very inconvenient for us."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/440145431","html_url":"https://github.com/docker/compose/issues/6316#issuecomment-440145431","issue_url":"https://api.github.com/repos/docker/compose/issues/6316","id":440145431,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDE0NTQzMQ==","user":{"login":"joebowbeer","id":28679,"node_id":"MDQ6VXNlcjI4Njc5","avatar_url":"https://avatars2.githubusercontent.com/u/28679?v=4","gravatar_id":"","url":"https://api.github.com/users/joebowbeer","html_url":"https://github.com/joebowbeer","followers_url":"https://api.github.com/users/joebowbeer/followers","following_url":"https://api.github.com/users/joebowbeer/following{/other_user}","gists_url":"https://api.github.com/users/joebowbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/joebowbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joebowbeer/subscriptions","organizations_url":"https://api.github.com/users/joebowbeer/orgs","repos_url":"https://api.github.com/users/joebowbeer/repos","events_url":"https://api.github.com/users/joebowbeer/events{/privacy}","received_events_url":"https://api.github.com/users/joebowbeer/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T05:30:42Z","updated_at":"2018-11-20T05:30:42Z","author_association":"NONE","body":"FWIW, a backward-compatible hack to exec in a container created by compose:\r\n\r\n```bash\r\ndocker container exec -it $(docker container ls -f name=expected -q) cmd\r\n```"}}
{"actor":{"display_login":"joebowbeer"}}