From the course: DevOps Foundations: Your First Project
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Starting the GitLab Compose service
From the course: DevOps Foundations: Your First Project
Starting the GitLab Compose service
Let's continue on and start up GitLab. Starting GitLab is straightforward. We can do it in three steps. First, we're going to create a virtual network for our GitLab containers to talk to each other, called "gitlab". For my networking folks watching this, you can think of container networks like private VLANs that are entirely operated by Docker's container runtime. We'll do this by typing "docker network create gitlab". Done. This long IDE over here is Docker's way of telling us that the network was created. Next, we need to make gitlab.example.com reality. We can trick our system into doing that by adding a line into a special file called /etc/hosts, or as it's lovingly called, our /etc/hosts file. Every application that is internet or network-facing checks this file for DNS records first before asking name servers on the network or the internet for clues. By doing this, we're basically telling our browser that gitlab.example.com is and always will be whatever IP address that you…
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.