{"action":"opened","issue":{"url":"https://api.github.com/repos/codekitchen/dinghy/issues/162","repository_url":"https://api.github.com/repos/codekitchen/dinghy","labels_url":"https://api.github.com/repos/codekitchen/dinghy/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/codekitchen/dinghy/issues/162/comments","events_url":"https://api.github.com/repos/codekitchen/dinghy/issues/162/events","html_url":"https://github.com/codekitchen/dinghy/issues/162","id":142157781,"number":162,"title":"Data lost after dinghy restart (postgres container)","user":{"login":"alkiskal","id":6135157,"avatar_url":"https://avatars.githubusercontent.com/u/6135157?v=3","gravatar_id":"","url":"https://api.github.com/users/alkiskal","html_url":"https://github.com/alkiskal","followers_url":"https://api.github.com/users/alkiskal/followers","following_url":"https://api.github.com/users/alkiskal/following{/other_user}","gists_url":"https://api.github.com/users/alkiskal/gists{/gist_id}","starred_url":"https://api.github.com/users/alkiskal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkiskal/subscriptions","organizations_url":"https://api.github.com/users/alkiskal/orgs","repos_url":"https://api.github.com/users/alkiskal/repos","events_url":"https://api.github.com/users/alkiskal/events{/privacy}","received_events_url":"https://api.github.com/users/alkiskal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-20T12:17:37Z","updated_at":"2016-03-20T12:17:37Z","closed_at":null,"body":"I'm creating a container using this docker-compose.yml\r\n\r\n```\r\npostgresdb:\r\n  container_name: \"postgresdb\"\r\n  image: \"postgres:9.5\"\r\n  volumes:\r\n    - \"/var/docker/data/postgresdb:/var/lib/postgresql/data\"\r\n  ports:\r\n    - \"5432:5432\"\r\n  environment:\r\n    VIRTUAL_HOST: \"postgresdb.docker\"\r\n    VIRTUAL_PORT: \"5432\"\r\n    POSTGRES_DB: \"dev\"\r\n```\r\n\r\nAfter running my container for the first time, I create some tables in my db. \r\nAfter that I stop my container and stop dinghy (dinghy halt).\r\nAfter that I start dinghy (dinghy up) and start the postgres container. \r\nThe tables now are gone.\r\n\r\n**Versions**\r\n - Dinghy 4.3.1\r\n - docker-machine version 0.6.0, build e27fb87\r\n - docker-compose version 1.6.2, build 4d72027\r\n - Virtualbox 5.0.16 r105871 (with the latest extension pack)\r\n - Docker version 1.10.3, build 20f81dd"}}