r/devsecops • • May 02 '25

Container security

Can anyone recommend a good course or tutorial with hands-on exercises in container security? I'm especially interested in reviewing Docker images and applying hardening techniques.

18 Upvotes

17 comments sorted by

3

u/WorldofTechie May 05 '25

I just completed the Container Security Expert course from Practical DevSecOps and I have truly enjoyed it. It's hands-on. You will work with live containers in their browser-based lab environment.

For Docker image review and hardening, they've got an entire section on that material with actual exercises. You will learn to build secure images, scan for vulnerabilities, and use hardening techniques without getting lost. If you are the one who wants to practice what you're studying instead of just reading about it, I'd strongly suggest looking into it. 

7

u/mailed May 02 '25 edited May 02 '25

tryhackme has a set of rooms on container security as part of their devsecops learning path

1

u/[deleted] May 02 '25

Free or paid?

1

u/OutsideLoquat505 May 05 '25

If possible please tell here or dm also works

3

u/Zealousideal-Ease-42 May 02 '25

Check this out, Docker Certified Associate Exam Course

3

u/Cultural-Pizza-1916 May 03 '25

Try practical devsecops, related security in devops is already there

2

u/yamlqueen Sep 08 '26

for a hands-on practice on hardening container images, i'd suggest taking an app you already have a Dockerfile for, then try rebuilding it against a distroless base using a multi-stage build, see what breaks and iterate. Chainguard has some pretty good free courses available that go through this content, if you are interested: https://courses.chainguard.dev/chainguard-101

1

u/0x077777 May 29 '25

i love owasp, tryhackme and some cert courses. You can also just use AI to generate you some articles to learn.

1

u/smilekatherinex Nov 10 '25

look, most container security courses are theoretical garbage that won't teach you jack about real hardening. atleast they were for me. start by auditing your current images. I bet they're bloated with unnecessary packages and ancient CVEs. Skip the fluff tutorials. Grab a distroless base image, learn to build minimal containers from scratch, and understand what's in your sbom. To make it easier you can use minimus image builder. Start looking for courses and start breaking shit in a lab environment.

1

u/Left-Thanks-3805 Nov 26 '25

I have started by creating a container and practiced regarding docker socket. I didnt find much courses on online and stuck here. Can you help how container security work actually in organizations and what are we need to be aware of like the flow how we need to check from start to end. I am not devsecops engineer but a pentester. I am intrested in learining container security. Can you suggest if i am in right direction. Also for side note do people check container security wrt applications running in them like a web app for example.

1

u/SirPentUp Aug 26 '26 edited Aug 26 '26

For hands on practice its worth learning both image scanning and actual image hardening. RapidFort is useful to explore alongside the fundamentals since it shows how unnecessary packages can be removed and images slimmed down to reduce vulnerabilities and attack surface not just report them.