From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Running GitLab in Docker
From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab
Running GitLab in Docker
- [Instructor] Now we've arrived at the moment of truth. We are going to start up the GitLab server. Included with the exercise files is a text file with a sample Docker run command that we're going to paste into our server. Change the gitlab.example.com to your GitLab URL. So mine will be gitlab.simpleemailservice.org. So when we run this command, it's going to pull the latest Docker image of GitLab CE. It's also going to mount some volumes into our GitLab server container that are mapped into our host server. So for instance, we'll find the config file for GitLab on our host server in /srv/gitlab/config, but if we were actually inside the container, that exact same config file would be found in /etc/gitlab. The restart command will tell Docker to always restart this container when it crashes or when the host machine boots up. And you can see that this Docker container is also publishing some ports, so the container's port 22 is also going to map to port 22 on the host. And the same…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Gitlab server requirement1m 46s
-
(Locked)
Installing Docker5m 3s
-
(Locked)
Change the SSH Port2m 55s
-
(Locked)
Using a custom domain with GitLab1m 35s
-
(Locked)
Running GitLab in Docker3m 50s
-
(Locked)
Configure GitLab5m 3s
-
(Locked)
GitLab first time setup4m 56s
-
(Locked)
Pushing a container to the registry3m 7s
-
(Locked)
-
-
-
-