{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/310","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/310/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/310/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/310","id":74057990,"number":310,"title":"Can not start container","user":{"login":"mikehaertl","id":675062,"avatar_url":"https://avatars.githubusercontent.com/u/675062?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehaertl","html_url":"https://github.com/mikehaertl","followers_url":"https://api.github.com/users/mikehaertl/followers","following_url":"https://api.github.com/users/mikehaertl/following{/other_user}","gists_url":"https://api.github.com/users/mikehaertl/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehaertl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehaertl/subscriptions","organizations_url":"https://api.github.com/users/mikehaertl/orgs","repos_url":"https://api.github.com/users/mikehaertl/repos","events_url":"https://api.github.com/users/mikehaertl/events{/privacy}","received_events_url":"https://api.github.com/users/mikehaertl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-07T17:09:40Z","updated_at":"2015-05-07T17:33:18Z","closed_at":null,"body":"I've tried to run a simple test setup, but failed. Here's the `docker-compose.yml` that I've used:\r\n\r\n```\r\ngitlab:\r\n    image: sameersbn/gitlab:7.10.1\r\n    links:\r\n        - db\r\n        - redis\r\n    environment:\r\n        DB_TYPE: mysql\r\n        DB_HOST: db\r\n        DB_NAME: gitlab\r\n        DB_USER: gitlab\r\n        DB_PASS: gitlab\r\n        REDIS_HOST: redis\r\n        REDIS_PORT: 6379\r\ndb:\r\n    image: mysql:5.6.22\r\n    ports:\r\n        - \"3306:3306\"\r\n    expose:\r\n        - \"3306\"\r\n    environment:\r\n        MYSQL_ROOT_PASSWORD: root\r\n        MYSQL_DATABASE: gitlab\r\n        MYSQL_USER: gitlab\r\n        MYSQL_PASSWORD: gitlab\r\nredis:\r\n    image: redis:3.0.0\r\n```\r\n\r\nSidenote: I don't know why you created your own mysql and redis images. I think the official images are just fine and should work. If that's an issue I think you should make them work.\r\n\r\nWhen I run `docker-compose up` the redis and mysql containers start just fine. But the gitlab container throws this error message and then exits:\r\n\r\n```\r\ngitlab_1 | debconf: unable to initialize frontend: Dialog\r\ngitlab_1 | debconf: (TERM is not set, so the dialog frontend is not usable.)\r\ngitlab_1 | debconf: falling back to frontend: Readline\r\ngitlab_1 | debconf: unable to initialize frontend: Readline\r\ngitlab_1 | debconf: (This frontend requires a controlling tty.)\r\ngitlab_1 | debconf: falling back to frontend: Teletype\r\ngitlab_1 | Creating SSH2 RSA key; this may take some time ...\r\ngitlab_1 | Creating SSH2 DSA key; this may take some time ...\r\ngitlab_1 | Creating SSH2 ECDSA key; this may take some time ...\r\ngitlab_1 | Creating SSH2 ED25519 key; this may take some time ...\r\ngitlab_1 | invoke-rc.d: policy-rc.d denied execution of restart.\r\ngitlab_1 | sed: -e expression #1, char 20: unknown option to `s'\r\ngitlab_gitlab_1 exited with code 1\r\n```"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/comments/99950704","html_url":"https://github.com/sameersbn/docker-gitlab/issues/310#issuecomment-99950704","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/310","id":99950704,"user":{"login":"mikehaertl","id":675062,"avatar_url":"https://avatars.githubusercontent.com/u/675062?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehaertl","html_url":"https://github.com/mikehaertl","followers_url":"https://api.github.com/users/mikehaertl/followers","following_url":"https://api.github.com/users/mikehaertl/following{/other_user}","gists_url":"https://api.github.com/users/mikehaertl/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehaertl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehaertl/subscriptions","organizations_url":"https://api.github.com/users/mikehaertl/orgs","repos_url":"https://api.github.com/users/mikehaertl/repos","events_url":"https://api.github.com/users/mikehaertl/events{/privacy}","received_events_url":"https://api.github.com/users/mikehaertl/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T17:33:18Z","updated_at":"2015-05-07T17:33:18Z","body":"Hmm, not sure why that would make a difference, but I've tried. With `docker-compose` you just have to change the name of the container. So I've modified it from `redis` to `redisio`. No difference."}}