Install Gitlab on Mac using Docker

Following the official instruction from gitlab to install the docker image by this command

docker pull gitlab/gitlab-ce

However, the guides to run that docker is for Linux and does not work on Mac.  In order to make it work on Mac, the following command must be use/or modidifed according to your usage

docker run  –hostname gitlab.example.com –publish 443:443 –publish 80:80 –publish 2200:22 –name gitlab –restart always  -v logs:/var/log/gitlab -v data:/var/opt/gitlab gitlab/gitlab-ce:latest

The first run, access Gitlab y http://localhost, create new password for root account. Then, the default login is root/<your new password>.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s