{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/docker/issues/16","labels_url":"https://api.github.com/repos/couchbase/docker/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/docker/issues/16/comments","events_url":"https://api.github.com/repos/couchbase/docker/issues/16/events","html_url":"https://github.com/couchbase/docker/issues/16","id":110490374,"number":16,"title":"Server image fails to run","user":{"login":"bndw","id":4248167,"avatar_url":"https://avatars.githubusercontent.com/u/4248167?v=3","gravatar_id":"","url":"https://api.github.com/users/bndw","html_url":"https://github.com/bndw","followers_url":"https://api.github.com/users/bndw/followers","following_url":"https://api.github.com/users/bndw/following{/other_user}","gists_url":"https://api.github.com/users/bndw/gists{/gist_id}","starred_url":"https://api.github.com/users/bndw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bndw/subscriptions","organizations_url":"https://api.github.com/users/bndw/orgs","repos_url":"https://api.github.com/users/bndw/repos","events_url":"https://api.github.com/users/bndw/events{/privacy}","received_events_url":"https://api.github.com/users/bndw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-08T16:28:18Z","updated_at":"2015-10-12T23:58:17Z","closed_at":null,"body":"#### Steps to reproduce\r\n1. `docker run -d -v ~/couchbase:/opt/couchbase/var -p 8091:8091 couchbase/server`\r\n\r\n\r\n#### Example\r\n```\r\n$ docker run -d -v ~/couchbase:/opt/couchbase/var -p 8091:8091 couchbase/server                                                               \r\nUnable to find image 'couchbase/server:latest' locally\r\nlatest: Pulling from couchbase/server\r\nba2b457ecfb2: Pull complete\r\n26180b0fe8fb: Pull complete\r\nedd7c1974a70: Pull complete\r\n57bca5139a13: Pull complete\r\n0cf7eebde823: Pull complete\r\n14a01c3766b5: Pull complete\r\ndb1c2947120d: Pull complete\r\n00c1ea53d2dc: Pull complete\r\n76b368b244f2: Pull complete\r\n3a329ab4106c: Pull complete\r\n135432843cbb: Pull complete\r\n02f5fe1f230c: Pull complete\r\nbe615b4368c8: Pull complete\r\ne1924c352a9e: Pull complete\r\n6d53b28ea253: Pull complete\r\nDigest: sha256:65a0c1467d5a132b9f0c3a1ffe664ea66172ab8602f23df8b5833bf4929b2192\r\nStatus: Downloaded newer image for couchbase/server:latest\r\n95bff3b9294cb3d26100a916ad06b4bb50cfcc6a3476f7081d6bb9c47b4e8cd5\r\n```\r\n\r\n```\r\n$ docker logs 95bff3b9294cb3d26100a916ad06b4bb50cfcc6a3476f7081d6bb9c47b4e8cd5\r\nStarting Couchbase Server -- Web UI available at http://<ip>:8091\r\n{\"init terminating in do_boot\",{{badmatch,{error,{bad_return,{{ns_babysitter,start,[normal,[]]},{'EXIT',{{worker_died,<0.71.0>,{badmatch,{error,eacces}}},{gen_server,call,['sink-babysitter_sink',{log,<<184 bytes>>},infinity]}}}}}}},[{init,start_it,1,[]},{init,start_em,1,[]}]}}\r\ninit terminating in do_boot ()\r\n```\r\n\r\n```\r\n$ docker images                                                                                                                               \r\nREPOSITORY                  TAG                 IMAGE ID            CREATED             VIRTUAL SIZE\r\ncouchbase/server            latest              6d53b28ea253        5 days ago          803.8 MB\r\n```\r\n\r\n```\r\n$ docker --version\r\nDocker version 1.8.1, build d12ea79\r\n```"},"comment":{"url":"https://api.github.com/repos/couchbase/docker/issues/comments/147552100","html_url":"https://github.com/couchbase/docker/issues/16#issuecomment-147552100","issue_url":"https://api.github.com/repos/couchbase/docker/issues/16","id":147552100,"user":{"login":"hookenz","id":6227712,"avatar_url":"https://avatars.githubusercontent.com/u/6227712?v=3","gravatar_id":"","url":"https://api.github.com/users/hookenz","html_url":"https://github.com/hookenz","followers_url":"https://api.github.com/users/hookenz/followers","following_url":"https://api.github.com/users/hookenz/following{/other_user}","gists_url":"https://api.github.com/users/hookenz/gists{/gist_id}","starred_url":"https://api.github.com/users/hookenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hookenz/subscriptions","organizations_url":"https://api.github.com/users/hookenz/orgs","repos_url":"https://api.github.com/users/hookenz/repos","events_url":"https://api.github.com/users/hookenz/events{/privacy}","received_events_url":"https://api.github.com/users/hookenz/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T23:58:17Z","updated_at":"2015-10-12T23:58:17Z","body":"By the way, it works perfectly under Ubuntu Linux with docker 1.8.1.  What distribution are you using?\r\n\r\nHave you tried experimenting with the --user option?  Not sure if that may cause other issues but the ports it opens I think are high enough not to require root.\r\n````\r\nmatthewh@slave:~$ docker run -d -v ~/couchbase:/opt/couchbase/var -p 8091:8091 couchbase/server\r\nUnable to find image 'couchbase/server:latest' locally\r\nlatest: Pulling from couchbase/server\r\n0cf7eebde823: Pull complete \r\n14a01c3766b5: Pull complete \r\ndb1c2947120d: Pull complete \r\n00c1ea53d2dc: Pull complete \r\n76b368b244f2: Pull complete \r\n3a329ab4106c: Pull complete \r\n135432843cbb: Pull complete \r\n02f5fe1f230c: Pull complete \r\nbe615b4368c8: Pull complete \r\ne1924c352a9e: Pull complete \r\n6d53b28ea253: Pull complete \r\nba2b457ecfb2: Already exists \r\n26180b0fe8fb: Already exists \r\nedd7c1974a70: Already exists \r\n57bca5139a13: Already exists \r\nDigest: sha256:65a0c1467d5a132b9f0c3a1ffe664ea66172ab8602f23df8b5833bf4929b2192\r\nStatus: Downloaded newer image for couchbase/server:latest\r\n2b9f71205e258c4c601b10894edc7d2394edd759f3d647f909e9607cc6a7e6a2\r\n````\r\n````\r\nmatthewh@slave:~$ docker ps\r\nCONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                                                           NAMES\r\n2b9f71205e25        couchbase/server    \"/entrypoint.sh couch\"   11 seconds ago      Up 10 seconds       8092/tcp, 11207/tcp, 11210-11211/tcp, 0.0.0.0:8091->8091/tcp, 18091-18092/tcp   elated_wright\r\n````\r\n````\r\nCONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                                                           NAMES\r\n2b9f71205e25        couchbase/server    \"/entrypoint.sh couch\"   2 minutes ago       Up 2 minutes        8092/tcp, 11207/tcp, 11210-11211/tcp, 0.0.0.0:8091->8091/tcp, 18091-18092/tcp   elated_wright\r\n````\r\n````\r\nmatthewh@slave:~$ docker logs elated_wright\r\nStarting Couchbase Server -- Web UI available at http://<ip>:8091\r\n````"}}