Loading...

How to secure your Docker containers! (5 practical tips with example Dockerfiles! 🐳)

35,859 views 1018________

While Docker containers provide many great security features out of the box, there are still many important considerations to ensure your application and data are protected.

In this video, I share five techniques that can help make your production containers more secure!

Cheers!

---
Join the Community:
💬 Discord:   / discord  
💻 GitHub: https://github.com/sidpalas/devops-di...
🐥 Twitter:   / sidpalas  
👨‍💼 LinkedIn:   / sid-palas  
🌐 Website: https://devopsdirective.com
---

Timestamps:
0:00 - Intro
0:34 - Example webserver code
0:48 - Naive Dockerfile
1:00 - Tip #1: Don't run the container as the root user
1:37 - Tip #2: Use a multi-stage build + distroless base image
2:54 - Tip #3: Harden the security of the host system
3:43 - Tip #4: Use a container image scanner to detect vulnerabilities
4:47 - Tip #5: Don't install/configure things within the Dockerfile without understanding the potential risks
5:15 - Closing thoughts

---

Community Size at Time of Posting:
Subscribers: 367
Channel Views: 5523

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 🧔+🎅+😳

コメント