{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/4148","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/4148/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/4148/comments","events_url":"https://api.github.com/repos/docker/compose/issues/4148/events","html_url":"https://github.com/docker/compose/issues/4148","id":189206108,"number":4148,"title":"datastore returns `exited with code 0`","user":{"login":"chansuke","id":501052,"avatar_url":"https://avatars.githubusercontent.com/u/501052?v=3","gravatar_id":"","url":"https://api.github.com/users/chansuke","html_url":"https://github.com/chansuke","followers_url":"https://api.github.com/users/chansuke/followers","following_url":"https://api.github.com/users/chansuke/following{/other_user}","gists_url":"https://api.github.com/users/chansuke/gists{/gist_id}","starred_url":"https://api.github.com/users/chansuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chansuke/subscriptions","organizations_url":"https://api.github.com/users/chansuke/orgs","repos_url":"https://api.github.com/users/chansuke/repos","events_url":"https://api.github.com/users/chansuke/events{/privacy}","received_events_url":"https://api.github.com/users/chansuke/received_events","type":"User","site_admin":false},"labels":[{"id":69777239,"url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-14T19:42:48Z","updated_at":"2016-11-16T10:10:01Z","closed_at":"2016-11-16T10:10:01Z","body":"- docker for mac(Version:1.12.3-beta30\r\n- docker-compose(Version:1.9.0-rc4, build 181a4e9)\r\n\r\nI am running docker-compose with the file below,but always fail with datastore.It returns `sampleapp_datastore_1 exited with code 0`.\r\n```\r\nversion: \"2\"\r\nservices:\r\n\r\n  datastore:\r\n    image: busybox\r\n    volumes:\r\n      - postgres-data:/var/lib/postgres/data\r\n\r\n  postgres:\r\n    image: postgres\r\n    environment:\r\n      POSTGRES_USER: postgres\r\n      POSTGRES_PASSWORD: password\r\n    ports:\r\n      - '5432:5432'\r\n    volumes_from:\r\n      - datastore\r\n  app:\r\n    build: .\r\n    ports:\r\n      - '3000:3000'\r\n    links:\r\n      - postgres\r\n    volumes_from:\r\n      - datastore\r\n    command: bundle exec rails s -b \"0.0.0.0\"\r\n\r\nvolumes:\r\n  postgres-data:\r\n    driver: local\r\n```"}}
{"actor":{"display_login":"chansuke"}}