{"action":"created","issue":{"url":"https://api.github.com/repos/dokku-alt/dokku-alt/issues/250","labels_url":"https://api.github.com/repos/dokku-alt/dokku-alt/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/dokku-alt/dokku-alt/issues/250/comments","events_url":"https://api.github.com/repos/dokku-alt/dokku-alt/issues/250/events","html_url":"https://github.com/dokku-alt/dokku-alt/issues/250","id":71261502,"number":250,"title":"dokku status shows stopped, despite container is running.","user":{"login":"almereyda","id":1645308,"avatar_url":"https://avatars.githubusercontent.com/u/1645308?v=3","gravatar_id":"","url":"https://api.github.com/users/almereyda","html_url":"https://github.com/almereyda","followers_url":"https://api.github.com/users/almereyda/followers","following_url":"https://api.github.com/users/almereyda/following{/other_user}","gists_url":"https://api.github.com/users/almereyda/gists{/gist_id}","starred_url":"https://api.github.com/users/almereyda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almereyda/subscriptions","organizations_url":"https://api.github.com/users/almereyda/orgs","repos_url":"https://api.github.com/users/almereyda/repos","events_url":"https://api.github.com/users/almereyda/events{/privacy}","received_events_url":"https://api.github.com/users/almereyda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T11:55:50Z","updated_at":"2015-05-08T17:45:05Z","closed_at":null,"body":"I was deploying hackdash to dokku-alt and had to play a bit with the environment vars.\r\nNow that it is successfully running, see http://urbantext.org, I wonder why `dokku status hackdash` tells me it is stopped.\r\n\r\nLogging in to the machine and running `docker ps` shows me it is working, as the service does, too.\r\n\r\nHow can I dig deeper into this, to find out where the culprit lies?"},"comment":{"url":"https://api.github.com/repos/dokku-alt/dokku-alt/issues/comments/100309403","html_url":"https://github.com/dokku-alt/dokku-alt/issues/250#issuecomment-100309403","issue_url":"https://api.github.com/repos/dokku-alt/dokku-alt/issues/250","id":100309403,"user":{"login":"beechnut","id":1887182,"avatar_url":"https://avatars.githubusercontent.com/u/1887182?v=3","gravatar_id":"","url":"https://api.github.com/users/beechnut","html_url":"https://github.com/beechnut","followers_url":"https://api.github.com/users/beechnut/followers","following_url":"https://api.github.com/users/beechnut/following{/other_user}","gists_url":"https://api.github.com/users/beechnut/gists{/gist_id}","starred_url":"https://api.github.com/users/beechnut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beechnut/subscriptions","organizations_url":"https://api.github.com/users/beechnut/orgs","repos_url":"https://api.github.com/users/beechnut/repos","events_url":"https://api.github.com/users/beechnut/events{/privacy}","received_events_url":"https://api.github.com/users/beechnut/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T17:45:04Z","updated_at":"2015-05-08T17:45:04Z","body":":+1: This happens to me all the time.\r\n\r\nI figured out that it has something to do with the way dokku parses whether an image is started or stopped. Basically, it looks through the export of a docker status command to find a certain value, and will say that it's running if it finds that value, defaulting to \"stopped\". However, the way docker formats its status output, that value will never appear in the output -- it may be keyed to a previous version of Docker."}}