{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/labs/issues/357","repository_url":"https://api.github.com/repos/docker/labs","labels_url":"https://api.github.com/repos/docker/labs/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/docker/labs/issues/357/comments","events_url":"https://api.github.com/repos/docker/labs/issues/357/events","html_url":"https://github.com/docker/labs/issues/357","id":265783867,"number":357,"title":"Stop container should be docker service rm","user":{"login":"bvdriel","id":4438168,"avatar_url":"https://avatars3.githubusercontent.com/u/4438168?v=4","gravatar_id":"","url":"https://api.github.com/users/bvdriel","html_url":"https://github.com/bvdriel","followers_url":"https://api.github.com/users/bvdriel/followers","following_url":"https://api.github.com/users/bvdriel/following{/other_user}","gists_url":"https://api.github.com/users/bvdriel/gists{/gist_id}","starred_url":"https://api.github.com/users/bvdriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvdriel/subscriptions","organizations_url":"https://api.github.com/users/bvdriel/orgs","repos_url":"https://api.github.com/users/bvdriel/repos","events_url":"https://api.github.com/users/bvdriel/events{/privacy}","received_events_url":"https://api.github.com/users/bvdriel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-16T14:10:07Z","updated_at":"2017-10-16T14:10:07Z","closed_at":null,"author_association":"NONE","body":"Please provide the following information so we can assess the issue you're having\r\n\r\n**Which lab is it that you're having issues with?**\r\n\r\nDocker for Java Developers\r\n\r\n**Description**\r\nIn the part https://github.com/docker/labs/blob/master/developer-tools/java/chapters/ch10-monitoring.adoc\r\nyou create a single replica prometheus container using the command docker service create --name metrics.\r\nAt the end of this section you specify that in order to remove the container you have to execute \r\ndocker container rm -f metrics\r\n\r\nThis will not work as it is a service and not a standalone container with that name.\r\n\r\n**Steps to reproduce the issue, if relevant:**\r\n1. follow steps in https://github.com/docker/labs/blob/master/developer-tools/java/chapters/ch10-monitoring.adoc\r\n2. Come to point 11.  and execute the docker container rm -f metrics command\r\n\r\n**Describe the results you received:**\r\nError response from daemon: No such container: metrics\r\n\r\n**Describe the results you expected:**\r\nthe service should be stopped. \r\nTherefore this command should be:\r\ndocker service rm metrics\r\n\r\n"}}
{"actor":{"display_login":"bvdriel"}}