I've been using Arcane (the container manager) on my Pi, instead of using Portainer. I do this in the effort to learn/research different management tools.
One very cool thing about Arcane is that it has an image vulnerability scanner (Trivy) baked into the console. It comes disabled but I enabled it and it scanned the images that Arcane sees (whether the image is being used or not). It's finding a ton of vulnerabilities, has CVSS socring, and also links to NIST vulnerability descriptions.
Yesterday, I spend a very large amount of my time sorting out how to remedy vulnerabilities that reside within Docker containers, but also learned how to patch images and use those images to redeploy containers. At first I didn't understand the imaging piece of vulnerability management. For example, I can patch a live container, but the vulnerability would still reside on the image upon which the container was built, which means that anyone that utilizes that image on the Docker host will have those inherent vulnerabilities.
I also learned how to rebuild/patch an existing image using Dockerfiles. Prior to yesterday, I had limited visibility in using Dockerfiles and actually avoided using Dockerfiles, as I wanted to strictly manage my containers via compose files.
I'm also understanding that I can focus on large groups of vulnerabilities found in images and containers if I fix those groups of issues (low hanging fruit) - it makes the vulnerability counts drop dramatically. My supervisor explained this but I'm seeing it play out in a live fashion when working these issues in my home lab!
These are the things that I need to be doing at my workplace on a daily basis, so this is great! I'd always wondered how to patch images to remediate container vulnerabilities. I'm also tracking the changes to the Terraform main.tf files using Git and Gitea.
The biggest challenge will be in adapting the learned information so that I can use it in the workplace. I'm still unfamiliar with DevOps and IaC principles. As I'm doing this in a home lab without mentoring or peer review, I could be doing things wrong while thinking I'm doing things correctly.
As well, we use Wiz at work (we've Trivy and Gripe, as well), and Wiz is pretty complex. I'd have to use Wiz to find/track findings and remediate vulnerabilities, which is another not-so-simple thing.
I'm doing all of this while on Thanksgiving vacation, too. This is the only way I can learn, though, as my work environment is extremely fast-paced...the only time I can research and learn is during my off-time.
It is fun, though!
It also seems simpler to do this with Terraform than doing it via Docker compose files.