I just grabbed the DockerHub GitLab-CE image yesterday and followed the directions for running it but it dies after a short while. I am running under Docker Toolbox on OS-X using Docker 1.10.2.
After issuing the run cmd found here [1], I did a 'docker attach gitlab' as I saw the wrapper kicks off a gitlab-ctl tail. The output of that shows what appears to be a permissions issue: ================================================================================ Error executing action `run` on resource 'execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8 ---- STDOUT: The files belonging to this database system will be owned by user "gitlab-psql". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default text search configuration will be set to "english". fixing permissions on existing directory /var/opt/gitlab/postgresql/data ... ok creating subdirectories ... STDERR: initdb: could not create directory "/var/opt/gitlab/postgresql/data/pg_xlog/archive_status": Permission denied initdb: removing contents of data directory "/var/opt/gitlab/postgresql/data" ---- End output of /opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8 ---- Ran /opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8 returned 1 The folder I setup to act as the config, logs and data volumes is owned and writable by the same user which I am issuing 'docker run ...' as. I can the config, logs and data folders are created on my local machine and files are created in those folders so I am not sure what's the issue with the Permission denied issue being reported by initdb. My docker run cmd looks like (foo.com is just there for the purpose of this post, in my actual cmd its a vaild FQDN): docker run --detach --hostname foo.com --publish 443:443 --publish 80:80 --publish 10022:22 --name gitlab --restart always --volume /Users/gitlab/Development/sandbox/gitlab/volume/config:/etc/gitlab --volume /Users/gitlab/Development/sandbox/gitlab/volume/logs:/var/log/gitlab --volume /Users/gitlab/Development/sandbox/gitlab/volume/data:/var/opt/gitlab gitlab/gitlab-ce:latest Thoughts? [1] - http://doc.gitlab.com/omnibus/docker/ -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/c935740d-d14b-4b06-9674-04afa17029ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.