{"action":"closed","issue":{"url":"https://api.github.com/repos/blinkreaction/drude/issues/26","labels_url":"https://api.github.com/repos/blinkreaction/drude/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/blinkreaction/drude/issues/26/comments","events_url":"https://api.github.com/repos/blinkreaction/drude/issues/26/events","html_url":"https://github.com/blinkreaction/drude/issues/26","id":67160026,"number":26,"title":"Add \"dsh reset\" command","user":{"login":"lmakarov","id":1205005,"avatar_url":"https://avatars.githubusercontent.com/u/1205005?v=3","gravatar_id":"","url":"https://api.github.com/users/lmakarov","html_url":"https://github.com/lmakarov","followers_url":"https://api.github.com/users/lmakarov/followers","following_url":"https://api.github.com/users/lmakarov/following{/other_user}","gists_url":"https://api.github.com/users/lmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/lmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmakarov/subscriptions","organizations_url":"https://api.github.com/users/lmakarov/orgs","repos_url":"https://api.github.com/users/lmakarov/repos","events_url":"https://api.github.com/users/lmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/lmakarov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blinkreaction/drude/labels/dsh","name":"dsh","color":"bfd4f2"},{"url":"https://api.github.com/repos/blinkreaction/drude/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"lmakarov","id":1205005,"avatar_url":"https://avatars.githubusercontent.com/u/1205005?v=3","gravatar_id":"","url":"https://api.github.com/users/lmakarov","html_url":"https://github.com/lmakarov","followers_url":"https://api.github.com/users/lmakarov/followers","following_url":"https://api.github.com/users/lmakarov/following{/other_user}","gists_url":"https://api.github.com/users/lmakarov/gists{/gist_id}","starred_url":"https://api.github.com/users/lmakarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmakarov/subscriptions","organizations_url":"https://api.github.com/users/lmakarov/orgs","repos_url":"https://api.github.com/users/lmakarov/repos","events_url":"https://api.github.com/users/lmakarov/events{/privacy}","received_events_url":"https://api.github.com/users/lmakarov/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-08T15:47:36Z","updated_at":"2015-04-09T20:58:29Z","closed_at":"2015-04-09T20:58:29Z","body":"In some cases docker-compose provisioning may fail (e.g. IP or port conflict, etc.) and containers may get corrupted. Even if the underlying issue is then fixed and containers restarted with `dsh up` there may still be issue with volumes being corrupted.\r\nThe only way to fix corrupted volumes is by completely removing and recreating a container.\r\n\r\nSo `dsh reset` would be doing `docker-compose stop && docker-compose rm --force && docker-compose up -d`. It should also warn the user and explain the consequences of its actions."}}