Get GitLab quickly up and running in less than 5 minutes

Start local GitLab instance using Docker:

docker run -d --name gitlab \
    --volume gitlab_config:/etc/gitlab \
    --volume gitlab_logs:/var/log/gitlab \
    --volume gitlab_data:/var/opt/gitlab \
    --publish 80:80 \

Wait for container to finish starting:

while docker container inspect gitlab \
      | jq --raw-output '.[].State.Health.Status' \
      | grep -q "starting"; do
    echo "Waiting for GitLab to finish starting..."
    sleep 10

First login

Go to http://gitlab.seatN.inmylab.de

Enter user root

Retrieve initial root password:

docker exec -it gitlab cat /etc/gitlab/initial_root_password \
| grep ^Password \
| cut -d' ' -f2

Open browser and go to http://seatN.inmylab.de (substitute N with your number)

Do not worry about the banner! New users require admin approval