{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/102","labels_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/102/comments","events_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/102/events","html_url":"https://github.com/jenkinsci/docker-plugin/issues/102","id":45749134,"number":102,"title":"Support removing volumes after container stop/delete","user":{"login":"fraz3alpha","id":2786011,"avatar_url":"https://avatars.githubusercontent.com/u/2786011?v=3","gravatar_id":"","url":"https://api.github.com/users/fraz3alpha","html_url":"https://github.com/fraz3alpha","followers_url":"https://api.github.com/users/fraz3alpha/followers","following_url":"https://api.github.com/users/fraz3alpha/following{/other_user}","gists_url":"https://api.github.com/users/fraz3alpha/gists{/gist_id}","starred_url":"https://api.github.com/users/fraz3alpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraz3alpha/subscriptions","organizations_url":"https://api.github.com/users/fraz3alpha/orgs","repos_url":"https://api.github.com/users/fraz3alpha/repos","events_url":"https://api.github.com/users/fraz3alpha/events{/privacy}","received_events_url":"https://api.github.com/users/fraz3alpha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/milestones/3","html_url":"https://github.com/jenkinsci/docker-plugin/milestones/0.10.1","labels_url":"https://api.github.com/repos/jenkinsci/docker-plugin/milestones/3/labels","id":1213291,"number":3,"title":"0.10.1","description":"","creator":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":21,"state":"closed","created_at":"2015-07-17T17:42:14Z","updated_at":"2015-08-14T01:01:34Z","due_on":"2015-07-18T21:00:00Z","closed_at":"2015-07-20T23:30:36Z"},"comments":7,"created_at":"2014-10-14T13:22:50Z","updated_at":"2015-08-14T01:01:47Z","closed_at":"2015-08-14T01:01:34Z","body":"I have a number of docker images that have a data VOLUME configured which is only needed for the lifetime of the container. When starting the container manually, unless the run command has --rm included, these containers will not delete the volume after the container has exited - as a result, I have a lot of files building up on the remote docker host.\r\n\r\nAs far as I can tell I can't see a mechanism to provide the --rm argument. Is there one? If not, is there a workaround?"},"comment":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/comments/130906224","html_url":"https://github.com/jenkinsci/docker-plugin/issues/102#issuecomment-130906224","issue_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/102","id":130906224,"user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T01:01:47Z","updated_at":"2015-08-14T01:01:47Z","body":"Should work since 0.10.1"}}