Upon an initial run of gitlab-ctl reconfigure, the process fails in a similar fashion to issue #447 (closed), not managing to setup PostgreSQL with the relevant part of the log being: STDERR: initdb: could not access directory "/gitroot/databases": Permission denied. It also lets you enforce better access controls. For command execution. sudo -u postgres psql -c "SELECT 1". is superior to the alternative: sudo su - postgres -c "psql -c \"SELECT 1\"". in that you don't have to double-escape quotes and other shell metacharacters as well as the other security advantages of not needing root. The Permission denied is the main thing, you'd want to make sure whatever is being mounted has appropriate permissions for the user running in the container. You could also try asking over at the Docker Community Forums, Docker Community Slack, or Stack Overflow.Since these repos aren't really a user-help forum. initdb -U postgres -A password -E utf8 -W -D POSTGRESQL_ROOT\data ... ("Access is denied" when trying to start the services from services window) and I'm pretty sure it is caused by the service getting started by a user that has administrative privileges. What I did to get it to start was right click on the service in the Services window and.