{"action":"created","issue":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/345","labels_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/345/comments","events_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/345/events","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/345","id":120118425,"number":345,"title":"How to stop container in a separate step as docker:start","user":{"login":"tbouvet","id":12045960,"avatar_url":"https://avatars.githubusercontent.com/u/12045960?v=3","gravatar_id":"","url":"https://api.github.com/users/tbouvet","html_url":"https://github.com/tbouvet","followers_url":"https://api.github.com/users/tbouvet/followers","following_url":"https://api.github.com/users/tbouvet/following{/other_user}","gists_url":"https://api.github.com/users/tbouvet/gists{/gist_id}","starred_url":"https://api.github.com/users/tbouvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbouvet/subscriptions","organizations_url":"https://api.github.com/users/tbouvet/orgs","repos_url":"https://api.github.com/users/tbouvet/repos","events_url":"https://api.github.com/users/tbouvet/events{/privacy}","received_events_url":"https://api.github.com/users/tbouvet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-03T08:37:55Z","updated_at":"2015-12-03T14:23:42Z","closed_at":null,"body":"I'm using this plugin for __continuous integration__ (pre-integration-tests, tests and post-integration-tests). All is perfect for this step, thank you for this plugin.\r\nI now want to use it for __continuous deploiement__. So I need to stop a container in another step as docker:start. But it seems to be not ok. Container doesn't stop.\r\nI'm looking for the documentation and I see:\r\n >If called in a separate run it will stop (and destroy) all containers which were created from images which are configured for this goal\r\n\r\nMy different steps are:\r\n- 1st day: docker:build + docker:start\r\n- 2nd day: docker:stop + docker:buid/docker:start\r\n\r\nThe goal is to start a new container after each new build (and so stop and remove old container).\r\n\r\nAny idea for this kind of execution please ?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/comments/161654283","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/345#issuecomment-161654283","issue_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/345","id":161654283,"user":{"login":"tbouvet","id":12045960,"avatar_url":"https://avatars.githubusercontent.com/u/12045960?v=3","gravatar_id":"","url":"https://api.github.com/users/tbouvet","html_url":"https://github.com/tbouvet","followers_url":"https://api.github.com/users/tbouvet/followers","following_url":"https://api.github.com/users/tbouvet/following{/other_user}","gists_url":"https://api.github.com/users/tbouvet/gists{/gist_id}","starred_url":"https://api.github.com/users/tbouvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbouvet/subscriptions","organizations_url":"https://api.github.com/users/tbouvet/orgs","repos_url":"https://api.github.com/users/tbouvet/repos","events_url":"https://api.github.com/users/tbouvet/events{/privacy}","received_events_url":"https://api.github.com/users/tbouvet/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T14:23:42Z","updated_at":"2015-12-03T14:23:42Z","body":"latest"}}