Clone GitLab repository
git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 7-9-stable gitlab
cd gitlab
Build into Docker image
docker build --tag gitlab_image:7.8.3 docker/
Start GitLab Data Container
docker run --name gitlab_data gitlab_image /bin/true
Start GitLab
docker run --detach --name gitlab_app --publish 8888:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image:7.8.3
Connect to GitLab Container
docker run -ti -e TERM=linux --rm --volumes-from gitlab_data ubuntu