Skip to content

Commit 7a3c693

Browse files
authored
docs: installation: downloads: docker: document image rebuilds (#2863)
- Add a Security updates and rebuilds section: base images, the rebuild policy for the three most recent release series, which tags move, dated tags and their counter, and pinning by dated tag or digest. - Link the container images and security status wiki pages, and describe what each one covers. - Add the steps for handling a scanner finding in an image. - Step 1: tell readers who pin a dated tag or digest to move to the newer build, and to recreate the container or roll out the workload after pulling. Refs fluent/fluent-bit#12806 Signed-off-by: Eric D. Schabell <eric@schabell.org>
1 parent 2ea2bd8 commit 7a3c693

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎installation/downloads/docker.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,36 @@ Windows Server 2025 support, and the Nano Server image, are available in Fluent
245245
docker pull cr.fluentbit.io/fluent/fluent-bit:windows-nano-2025-5.1.1
246246
```
247247

248+
## Security updates and rebuilds
249+
250+
Linux images are built on a base image: Distroless for production images and Debian for `-debug` images. Packages in the base image receive security fixes on their own schedule, so a vulnerability scanner can report findings in a published image that aren't vulnerabilities in Fluent Bit.
251+
252+
When a fix is available for a critical or high finding in the base image packages, the images for the three most recent release series are rebuilt. The rebuild uses the updated base image and doesn't require a new Fluent Bit release. The Fluent Bit binary is rebuilt from the same release tag. Windows images are rebuilt together with the Linux images, on the current Windows Server base image.
253+
254+
- The version tag, such as `5.2.0`, moves to the newest build. So do its `-debug` and Windows tags, and the series tag, such as `5.2`, and `latest` when they point to that version. Pull the tag again to get a rebuild.
255+
- Each rebuild also gets a dated tag that never moves, in the form `<version>-<YYYYMMDD>`, such as `5.2.0-20261117`. A second rebuild on the same day adds a counter, such as `5.2.0-20261117.2`. Debug and Windows images have matching dated tags, such as `5.2.0-20261117-debug` and `windows-2025-5.2.0-20261117`.
256+
- When a release is rebuilt for the first time, its original build also gets a dated tag based on its original build date, such as `5.2.0-20261109`. A release that has never been rebuilt has only its version tag, so pin it by digest.
257+
258+
To pin an exact build, use a dated tag or the image digest:
259+
260+
```shell
261+
docker pull cr.fluentbit.io/fluent/fluent-bit:5.2.0-20261117
262+
docker pull cr.fluentbit.io/fluent/fluent-bit@sha256:<digest>
263+
```
264+
265+
Two wiki pages are generated from the registries:
266+
267+
- [Container images](https://github.com/fluent/fluent-bit/wiki/Container-Images): every build of every release in the maintained series, with its tags, digests, and build date.
268+
- [Container image security status](https://github.com/fluent/fluent-bit/wiki/Container-Image-Security-Status): known critical and high findings in the `linux/amd64` production and debug images of the newest release in each maintained series. Findings are split into those that a rebuild can fix and those that the base image distribution hasn't fixed yet. Windows images aren't scanned.
269+
270+
When a scanner reports a finding in a Fluent Bit image:
271+
272+
1. Find the digest you run on the container images page, under the full digests for your version. If a newer build of the same version exists, pull the version tag again. If you pin a dated tag or digest, change it to the newer build. Then recreate the container or roll out the workload, because a running container keeps the image it started with. If your version is superseded by a newer version, upgrade to that version.
273+
1. Check the security status page. A finding listed under **No fix yet** has no fixed package available, so a rebuild can't remove it. A later rebuild clears it after the distribution publishes a fix.
274+
1. If a fix is available and the current build doesn't include it, open a [GitHub issue](https://github.com/fluent/fluent-bit/issues) that asks for an image rebuild. Include the image tag, digest, and Common Vulnerabilities and Exposures (CVE) identifier. These findings are already public, so they don't need a private report.
275+
276+
Report vulnerabilities in Fluent Bit itself privately, as described in the [security policy](https://github.com/fluent/fluent-bit/blob/master/SECURITY.md).
277+
248278
## Multi-architecture images
249279

250280
Fluent Bit production stable images are based on [Distroless](https://github.com/GoogleContainerTools/distroless). Focusing on security, these images contain only the Fluent Bit binary and minimal system libraries and basic configuration.

0 commit comments

Comments
 (0)