I didn't want to wait for a 2 h Vagrant imagedownload, so i decided to give docker a chance.
Docker on ubuntu 15.04 was installed in minutes.
1) Update ubuntu repos
Commandline:
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
Open and add:
sudo nano /etc/apt/sources.list.d/docker.list
Add
deb https://apt.dockerproject.org/repo ubuntu-vivid main
Save the file
Update your ubuntu
apt-get update
Install Docker
sudo apt-get install docker-engine
Start Docker
sudo service docker start
Pull gitlab on docker from docker hub
docker pull sameersbn/gitlab:8.2.0
Download docker composer
wget https://raw.githubusercontent.com/sameersbn/docker-gitlab/master/docker-compose.yml
Generate gitlab secretkey
apt-get install pwd
genpwdgen Bsv1 64
copy generated string an open downloaded docker-compose
nano docker-compose.yml
search GITLAB_SECRETS_DB_KEY_BASE and set the generated secret
Install docker-composer
apt-get install docker-composer
start gitlab composing
docker-compose up
Point your browser to
http://localhost:10080
and login using the default username and password:- username: root
- password: 5iveL!fe
Keine Kommentare:
Kommentar veröffentlichen