Chainguard Images now available on Docker Hub
chainguard.dev
chainguard.dev
Chainguard Images is a set of hardened container images.
They were built by the original team that brought you Google's Distroless (https://github.com/GoogleContainerTools/distroless)
However, there were few problems with Distroless:
1. distroless were based on Debian - which in turn, limited to Debian's release cadence for fixing CVE.
2. distroless is using bazelbuild, which is not exactly easy to contrib, customize, etc...
3. distroless images are hard to extend.
Chainguard built a new "undistro" OS for container workload, named Wolfi, using their OSS projects like melange (for packaging pkgs) and apko (for building images).
The idea is (from my understanding) is that
1. You don't have to rely on upstream to cut a release. Chainguard will be doing that, with lots of automation & guardrails in placed. This allow them to fix vulnerabilties extremely fast. Why go through all the analysis, etc.. where you can patch it very quickly.
2. The OS is glibc-based. Which is a lot more friendly than Alpine.
3. It's pretty much YAML which is kinda easy to package software into APK packages & then images (with apko)
4. SBOM
and a lot more. But that's stuff on top of my head.
melange (for packaging software): https://github.com/chainguard-dev/melange
apko (for building image): https://github.com/chainguard-dev/apko
Why does the article present this bizarre set of instructions for grabbing the image instead of linking directly? You could just link your organization no?
> Getting started with Chainguard Developer Images in Docker Hub is easy. Follow these simple steps:
> Look up the Image you want.
> Select ‘Recently Updated’ from the dropdown menu on the right.
> Filter out the community images by selecting the filter ‘Verified Publisher.’
> Copy the pull command, paste it into your terminal, and you are all set.
We produce SBOMs during the build process, and cryptographically sign SLSA-formatted provenance artifacts depicting the entire build process so you can trace a built container all the way back to the sources it was built from.
We also try to make as much of our build system reproducible as possible (but we're not all the way there yet), so you can audit or rebuild the process yourself.
I still have no idea what Chainguard is, or what those images do. All I know is those images are "hardened", is that the only thing they're for? Is that Chainguard's product?
I think this comes down to audience. To a lot of engineers it's just like ... "OK, that's nice. What else?"
But for security teams in large enterprises, Chainguard is like manna from heaven. They immediately understand what is really being sold: the elimination of enormous amounts of compulsory toil due to upgrading vulnerable software -- or having to nag other teams to do it.
It's a bit like visiting the site of a medical devices manufacturer. I probably don't know what the device does, but the target audience sure do.
Explain to me how Chainguard helps with this. Everywhere I've worked, this process has very specific needs depending on the companies internal and regulatory requirements. Chainguard may help with proof of origin/base imaging, but it doesn't do much beyond what container registries and tools like dependabot/snyk/dependency track already provide (not saying they're directly related), which doesn't really reduce that much toil.
Most of our customers use them for FedRAMP or IL 5/6 stuff out of the box.
If it helps, substitute "Darmok and Jalad at Tanagra" instead.
In a nutshell we produce minimal container images with a low CVE count. In many cases they should be drop in replacements for the containers you are currently using.
This is particularly useful if your team uses a scanner like trivy/snyk/grype/Docker Scout and spends time investigating CVEs. Less CVES == less time investigating. It can also be critical in regulated environments.
For example, put that exact sentence in place of this useless tag line:
> Build it right. Build it safe. Build it fast.
Anyone know how that works? Does Chainguard need to pay Docker for this? What does the verification process look like?
[1] https://docs.docker.com/trusted-content/dvp-program/
Explains perks and Docker Hub analytics features, but doesn't explain requirements. It does link to ...
[2] https://www.docker.com/partners/programs/
a sign up page that entices you to fill out a contact form if you want to learn more. And links to 2 new pages (and [1]) at the bottom:
[3] https://www.docker.com/press-release/docker-expands-trusted-...
the first of which is a press release explaining the value of the program.
[4] https://www.docker.com/blog/docker-verified-publisher-truste...
The second is this blog post which highlights trust and again Docker Hub features (e.g. rate limit removal, metrics, badging) and links back to [2] for more details.
The third link is [1].
So, I'm still left curious about the grandparent comment's questions. It seems these pages are sparse on what the verification process looks like and if it might just be a "pay to play" relationship.
> Minimal, hardened images with SBOMs and signatures
> Get free Chainguard Images for your organization. Upgrade for more versions, SLAs, and dedicated support.
Looks like they’re producing low-CVE images for use in environments where being very on top of CVE squashing is super important
Disclosure: I am friends with / have worked with some Chainguard folks.
What images do you usually use and where do you pull them from? ;-)
FROM:scratch ?
Might be worthwhile restating the companies business model in announcements like this, especially for people unfamiliar with the area. This sounded like some wireguard thing from the name, only to discover it's just an org delivering statically linked binaries in a scratch docker image to defeat scanners...
A few things though:
- we don't use scratch. Our base image is chainguard/static which includes certs and a few other things typically needed by apps.
- we have our own Linux distribution called Wolfi
- we don't "defeat scanners". We work with scanners and publish security advisories. They recognise Wolfi. You can definitely find some images of ours that have CVEs (especially if you have an old image lying around).