Docker Compose on Google's Container Optimized OS!

preview_player
Показать описание
In my last video, I showed how to use docker-compose for building containerized web applications with multiple services, and two videos I suggested running containers on Google's Container Optimized OS to improve their security.

However, anyone who has tried to use these two technologies together knows that is quite tricky to do!

---

Cheers!

---
Join the Community:

---

Timestamps:
0:00 - Intro
0:26 - Showing the example django guide
0:52 - Compute Engine VM configuration
1:22 - SSH to VM and follow first steps of django quickstart
2:07 - Explaining how we need to run docker-compose inside a container
4:19 - Setting up Docker socket mount (+ ☠️🔥 disclaimer)
6:55 - Creating DNS record to map the domain to the VM
7:24 - Debugging port mapping issue
8:31 - Setting up alias for docker-compose in ~/.bashrc
9:47 - Using docker-credential-gcr
10:22 - Creating custom docker-compose Docker image to enable authentication within container
11:48 - Final demo run
12:10 - Wrap up

---

Community Size at Time of Posting:
- Subscribers: 555
- Channel Views: 8728

Note: I have a running joke with my wife that I'm not going to shave my beard until I reach 1000 subscribers (the last time I did was at 100...) and it is starting to get out of control 🧔+🎅+😳+😬+😅
Рекомендации по теме
Комментарии
Автор


I'm also considering getting a green screen so that the background detection will be much cleaner for future videos.

DevOpsDirective
Автор

excellent video. love that you show debugging when things don’t work first time. full marks

simonmassey
Автор

Is it better to do this or use GAE, GKE, or GCP Cloud Run?

JanacMeena
Автор

You`ve just saved me thank you! Great job!

ОлексійПучков-кб
Автор

I don't know how to do the configuration your are talking about in 0:52 . Can you give us a tutorial. thanks for your time

fitnesscoach
Автор

hello should I create an instance first before doing the tutorial?

RoyVincentNiepes
Автор

Good video but i prefer using kubernetes

Elcanario