355 Commits
Author SHA1 Message Date
Sebastiaan van Stijn d3442c3616 build: disable gRPC tracing to reduce binary size
Add the grpcnotrace build tag to exclude gRPC's tracing integration.
This reduces the size of buildctl by ~492 KiB (1.51%).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-26 16:02:04 +01:00
Sebastiaan van Stijn 643e78808b Dockerfile: containerd v2.4.2, v2.3.7
Security Updates:

- [CVE-2026-95839](https://github.com/containerd/containerd/security/advisories/GHSA-vwhp-8p66-mq4f)
- [GHSA-8647-2jxj-p2rc](https://github.com/containerd/containerd/security/advisories/GHSA-8647-2jxj-p2rc)
- [GHSA-hc94-p972-ch66](https://github.com/containerd/containerd/security/advisories/GHSA-hc94-p972-ch66)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-14 00:46:02 +02:00
CrazyMax 43d4cae9ee update alpine linux to 3.24
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-10-13 12:27:12 +02:00
Sebastiaan van Stijn c3292e1abe update to go1.27
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-12 17:06:54 +02:00
CrazyMax 3090a253a1 dockerfile: update xx to 1.10.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-10-12 13:26:42 +02:00
Sebastiaan van Stijn c5d8309ad2 Dockerfile: remove containerd 1.7 (EOL)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-01 23:43:05 +02:00
Sebastiaan van Stijn 32192a6993 Dockerfile: add containerd v2.4.1, drop v2.2.9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-30 22:56:31 +02:00
Tonis Tiigi f22e591335 Update Dockerfile tool versions
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-09-30 01:10:26 -07:00
Sebastiaan van Stijn b8609d3b8d Dockerfile: update runc binary to v1.5.2
This is the second patch release in the 1.5.z release series of runc,
which primarily includes a workaround for a Linux kernel bug causing
random runc crashes when using cgroup v2, and other fixes.

Fixed

- `runc exec -p` with a `process.json` lacking env now sets HOME again (a regression in runc 1.3.0).
- Worked around a Linux kernel bug (present since kernel v6.17, fixed in v7.2)
  which caused the kernel to write past the end of the structure
  provided by userspace (runc). This resulted in memory corruption inside runc
  (manifesting as random crashes) when configuring device rules on cgroup v2
  systems.
- `runc exec --cgroup` (and the equivalent libcontainer `Process.SubCgroupPaths`
  API) no longer accepts a sub-cgroup path that escapes the container's cgroup
  into a sibling cgroup sharing the same name prefix. Note that using
  `--cgroup` requires the same privileges as running runc exec itself, so
  this is a correctness rather than a security fix.
- Fixed a missing `O_CLOEXEC` when opening the cgroup v2 directory to set up
  device rules.
- Some long-standing file-descriptor leaks on the eBPF devices cgroups were
  fixed.
- When rootfsPropagation is set to `rslave`, the rootfs parent mount is no
  longer made private before pivoting into the rootfs, so unmount/remount
  events on host mountpoints under the rootfs are now propagated to the
  running container.
- runc no longer misdetects a non-initial user namespace as the initial one
  when that namespace has a full identity ID mapping (0 0 4294967295), as
  used by systemd >= 260 units with `PrivateUsers=full`. Previously this made
  runc skip its user namespace code paths, so starting a container in such a
  unit failed with `bpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted`.
- Fixed a runc init panic (`SIGABRT`) on the error path, caused by SELinux
  labels being reset after the cached libpathrs procfs handle was already
 closed. This is fixed both by not resetting the labels on the init error
  path, and by updating to libpathrs v0.2.6, which now handles a closed
  procfs handle gracefully.
- Fixed various issues when the libseccomp version runc is run with differs
  from the one it was compiled against (e.g. built with libseccomp >= 2.6.0 and
  run with an older one), by updating to libseccomp-golang v0.12.0. This also
  supersedes the `SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV` workaround added in
  runc 1.5.1.
- The libseccomp library statically linked into release binaries is now built
  with optimizations enabled (the default `-g -O2 CFLAGS`); previously it was
  built unoptimized.

Changed

- Switched to opencontainers/cgroups v0.1.0, which no longer uses the
  high-level cilium/ebpf API to manage cgroup v2 device rules. As a result,
  the runc binary shrunk by about 1 MiB (7.5%) on amd64. This also means runc
  no longer calls the cilium/ebpf code affected by GO-2026-6238.
- Updated golang.org/x/net to v0.55.0.
- Updated builds to libseccomp v2.6.1.

release-notes: https://github.com/opencontainers/runc/releases/tag/v1.5.2
full diff: https://github.com/opencontainers/runc/releases/compare/v1.5.1...v1.5.2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-28 14:07:55 +02:00
Akihiro Suda 3157a0bb07 Merge pull request #7196 from thaJeztah/bump_containerd_bin
Dockerfile: containerd v2.3.6, v2.2.9, v1.7.36
2026-09-26 09:30:14 +09:00
Sebastiaan van Stijn f3f7d6d9a7 Dockerfile: rootlesskit v3.2.0
release notes: https://github.com/rootless-containers/rootlesskit/releases/tag/v3.2.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-25 23:20:06 +02:00
Sebastiaan van Stijn 1279a9ccff Dockerfile: containerd v2.3.6, v2.2.9, v1.7.36
includes a fix for CVE-2026-53493 / [GHSA-pg57-6jwg-q645]

[GHSA-pg57-6jwg-q645]: https://github.com/containerd/containerd/security/advisories/GHSA-pg57-6jwg-q645

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-25 23:17:17 +02:00
CrazyMax 4509d3ac46 test: use silo for s3 integration tests
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-09-24 22:37:07 +02:00
Sebastiaan van Stijn 4d8f7073da Merge pull request #7115 from thaJeztah/docker_29.8
Dockerfile: update engine to v29.8
2026-09-14 10:00:20 +02:00
Sebastiaan van Stijn a872ab0705 Dockerfile: containerd v2.3.5, v2.2.8, v1.7.35
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-05 02:34:39 +02:00
Sebastiaan van Stijn 71b5786c56 Dockerfile: update engine to v29.8
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-09-04 00:43:06 +02:00
MsfPablo 451b38ce82 Fix typos in code comments
Signed-off-by: MsfPablo <pablogarciacaceres5@gmail.com>
2026-08-31 19:04:32 +02:00
Sebastiaan van Stijn 9d01885244 Dockerfile: containerd v2.3.4, v2.2.7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-28 12:10:13 +02:00
Sebastiaan van Stijn 3c0f99de4e Dockerfile: runc v1.5.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-08-28 12:07:52 +02:00
Sebastiaan van Stijn c74d0aed78 Dockerfile: update to containerd v2.3.3, v2.2.6, v1.7.34
Highlights

- Set SystemTemp environment variable on Windows so temp directory overrides work for SYSTEM services

Container Runtime Interface (CRI)

- Fix nil pointer dereference in NRI GetIPs during pod sandbox teardown or container exit
- Reject CreateContainer calls when the target sandbox is not running
- Ensure sandbox shutdown on RunPodSandbox hook failures to avoid mount leaks

Image Distribution

- Surface OCI error bodies in registry 403 responses by falling back to GET requests

Snapshotters

- Align default 4K mkfs block size for EROFS across all platforms

release notes: https://github.com/containerd/containerd/releases/tag/v2.3.3
full diff: https://github.com/containerd/containerd/compare/v2.3.2...v2.3.3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-07-10 18:17:14 +02:00
Sebastiaan van Stijn d42880744d Dockerfile: containerd v2.3.2, runc v1.4.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-30 16:50:08 +02:00
Akihiro Suda 33278a31c2 Dockerfile: allow cross-compilation without binfmt helper
Fix issue 6890

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2026-06-25 04:21:22 +09:00
Akihiro Suda 317458b0e0 Merge pull request #6875 from thaJeztah/bump_engine_test
Dockerfile: update docker engine, cli to v29.6
2026-06-19 17:28:45 +09:00
Sebastiaan van Stijn ac1270b48f Dockerfile: update containerd v2.2.5, v2.1.9, v1.7.33
- full diff: https://github.com/containerd/containerd/compare/v2.2.4...v2.2.5
- release notes: https://github.com/containerd/containerd/releases/tag/v2.2.5

The fifth patch release for containerd 2.2 contains various fixes
and updates including security patches.

-  CVE-2026-50195 / [GHSA-cvxm-645q-p574] CRI: checkpoint import allows local image tag poisoning
-  CVE-2026-53488 / [GHSA-xhf5-7wjv-pqxp] CRI: image-config LABEL flows to host-root command execution from an image pull
-  CVE-2026-53492 / [GHSA-33vj-92qq-66hc] CRI: CDI annotation smuggling during CRI checkpoint restore
-  CVE-2026-53489 / [GHSA-rgh6-rfwx-v388] CRI: Arbitrary host file read via symlink following in CRI checkpoint restore
-  CVE-2026-47262 / [GHSA-jpcc-p29g-p8mq] containerd image-triggered runtime DoS via unbounded group parsing

[GHSA-cvxm-645q-p574]: https://github.com/containerd/containerd/security/advisories/GHSA-cvxm-645q-p574
[GHSA-xhf5-7wjv-pqxp]: https://github.com/containerd/containerd/security/advisories/GHSA-xhf5-7wjv-pqxp
[GHSA-33vj-92qq-66hc]: https://github.com/containerd/containerd/security/advisories/GHSA-33vj-92qq-66hc
[GHSA-rgh6-rfwx-v388]: https://github.com/containerd/containerd/security/advisories/GHSA-rgh6-rfwx-v388
[GHSA-jpcc-p29g-p8mq]: https://github.com/containerd/containerd/security/advisories/GHSA-jpcc-p29g-p8mq

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-19 09:56:44 +02:00
Sebastiaan van Stijn 3e0f833c68 Dockerfile: update docker engine, cli to v29.6
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-18 22:53:54 +02:00
Sebastiaan van Stijn f292e5c39a Dockerfile: update runc binary to v1.3.6
This is the sixth patch release of the 1.3.z series of runc. Among some
performance improvements and bugfixes, it includes a fix for a low-severity
vulnerability ([CVE-2026-41579]) and users are encouraged to update. As it was
a low-severity vulnerability and it was reported by multiple people, we decided
to release it publicly with NO EMBARGO.

Security

This release includes a fix for the following low-severity security issue:

- CVE-2026-41579 allowed a malicious image with a /dev symlink to have
  limited write access to the host filesystem in ways that our analysis
  indicates was too limited to be problematic in practice. This bug was very
  similar to those fixed in CVE-2025-31133, CVE-2025-52565, CVE-2025-31133
  and was simply missed at the time when we hardened the rootfs preparation
  code. We have conducted a deeper audit and not found any other problematic
  cases.

Fixed

- A regression in runc v1.3.0 which can result in a stuck runc exec or
  runc run when the container process runs for a short time.
- Various integration test improvements.

Changed

- When masking directories with maskPaths, runc will now re-use a single
  tmpfs instance (which is not writable) to reduce the number tmpfs
  superblocks that need to be reaped when containers die (in particular,
  Kubernetes applies masks to per-CPU sysfs directories which get expensive
  quickly).

[CVE-2026-41579]: https://github.com/opencontainers/runc/security/advisories/GHSA-xjvp-4fhw-gc47

full diff: https://github.com/opencontainers/runc/compare/v1.3.5...v1.3.6

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-15 19:38:36 +02:00
Tõnis Tiigi 41c29fffe2 Merge pull request #6854 from thaJeztah/bump_rootlesskit
Dockerfile: update rootlesskit v3.0.1, buildx v0.34.1, nerdctl v2.3.1
2026-06-09 17:32:21 -07:00
Sebastiaan van Stijn 628fd63f33 Dockerfile update nerdctl to v2.3.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-09 19:50:55 +02:00
Sebastiaan van Stijn a14e97ac64 Dockerfile: update buildx to v0.34.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-09 19:46:38 +02:00
Sebastiaan van Stijn ab364beb50 Dockerfile: update RootlessKit to v3.0.1
Update RootlessKit to [v3.0.1](https://github.com/rootless-containers/rootlesskit/releases/tag/v3.0.1)
Fix AWS IMDS access with `gvisor-tap-vsock` and UDP port forwarding for non-loopback clients.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-09 19:45:46 +02:00
Sebastiaan van Stijn ec254952b5 Dockerfile: update containerd v2.2.4, v2.1.8, v1.7.32
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-09 19:28:57 +02:00
Tõnis Tiigi 730b8fc4b0 Merge pull request #6846 from crazy-max/binfmt-10.2.3
update binfmt to v10.2.3
2026-06-09 09:12:38 -07:00
Sebastiaan van Stijn 1dd3ee3b74 Dockerfile: update docker engine, cli to v29.5
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-09 15:52:23 +02:00
CrazyMax f305a4d523 update binfmt to v10.2.3
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-06-09 11:56:14 +02:00
Tonis Tiigi 5649458d8b update Buildx to v0.34.0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-05-14 10:13:21 -07:00
Tonis Tiigi 96e8977368 update Delve to v1.26.3
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-05-14 10:13:21 -07:00
Tõnis Tiigi 0b14cd1df3 Merge pull request #6677 from AkihiroSuda/dev
Dockerfile: update RootlessKit to v3.0.0
2026-04-15 11:31:22 -07:00
Sebastiaan van Stijn 6fe630d856 Dockerfile: update containerd v2.1.7, v1.7.31
- https://github.com/containerd/containerd/releases/tag/v2.1.7
- https://github.com/containerd/containerd/releases/tag/v1.7.31

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-04-15 09:56:20 +02:00
Sebastiaan van Stijn 9cd3938d2f Dockerfile: update containerd v2.2.3
containerd v2.2.3:

- Fix TOCTOU race bug in tar extraction
- fix(oci): handle absolute symlinks in rootfs user lookup
- fix(oci): apply absolute symlink resolution to /etc/group
- Preserve host cgroup mount options for privileged containers
- update github.com/moby/spdystream v0.5.1 to fix [CVE-2026-35469] / GHSA-pc3f-x583-g7j2
- update runhcs to v0.14.1 to fix Windows containers when running with process
  isolation on Docker;
  - shim: skip SandboxPlatform validation when platform is not explicitly set
  - WCOW: restore support for client-mounted roots

full diff: https://github.com/containerd/containerd/compare/v2.2.2...v2.2.3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-04-15 09:54:56 +02:00
Akihiro Suda 28a12c50ad Dockerfile: update RootlessKit to v3.0.0
slirp4netns is no longer needed, as gvisor-tap-vsock is now embededd in
rootlesskit.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2026-04-11 06:27:13 +09:00
Akihiro Suda e4a3abae46 Dockerfile: copy docker-engine stage before other stages
Prior to this commit, the binaries of `runc`, `containerd`, `rootlesskit`, etc.
were overwritten by ones from the `docker-engine` stage.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2026-04-11 06:26:14 +09:00
Sebastiaan van Stijn 6e4298b066 Dockerfile: update docker engine, cli to v29.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-04-10 10:14:51 +02:00
Sebastiaan van Stijn 4847952d9c Dockerfile: update runc binary to v1.3.5
release notes: https://github.com/opencontainers/runc/releases/tag/v1.3.5
full diff: https://github.com/opencontainers/runc/compare/v1.3.4...v1.3.5

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-03-29 12:56:44 +02:00
Tonis Tiigi 2c19f5c17e Dockerfile: update containerd to v2.2.2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-03-25 11:57:50 -07:00
CrazyMax 0cf5374d32 dockerfile: update cni to 1.9.1
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-16 15:21:01 +01:00
CrazyMax e73257e385 update binfmt to v10.2.1
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-13 11:28:46 +01:00
Tonis Tiigi c33e1fa5cd chore: bump Go toolchain to 1.26
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-02-25 16:16:09 -08:00
Tõnis Tiigi 4a388e149d Merge pull request #6368 from marxarelli/review/unshare-cgroupns-entrypoint
dockerfile: run buildkitd within a cgroup namespace for cgroup v2
2026-02-24 09:30:39 -08:00
CrazyMax dbc169e5d8 Merge pull request #6530 from tonistiigi/20260223-deps-update
Dependency update for v0.28
2026-02-24 09:18:00 +01:00
Tonis Tiigi 5ce89e70f4 Dockerfile: runtime dependencies update
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-02-23 23:09:37 -08:00