i386 Docker container has no network on ubuntu-latest (Ubuntu 26.04): "getent hosts" exits 2, socketcall blocked by Docker 29.4.2
On the Ubuntu 26.04 runner image, a 32-bit container such as i386/debian cannot resolve host names, so apt update or curl inside it fails. Docker 29.4.2, the version on that image, blocks the socketcall(2) system call in its default seccomp profile, and i386 glibc makes its socket calls through it. Docker 29.4.3 reverted the block, but the image still has 29.4.2, so until it is updated the fixes are to relax seccomp for that one container, use a musl-based i386 image, or stay on ubuntu-24.04 (what else changes with ubuntu-latest).
The symptom
The report is actions/runner-images #14790. Its repro is one step:
runs-on: ubuntu-26.04 steps: - run: docker run --rm i386/debian:bookworm getent hosts github.com
The issue says "It exits 2." With --security-opt seccomp=unconfined it resolves, and on ubuntu-24.04 and ubuntu-22.04 (Docker 28.0.4) it works. A GitHub contributor reproduced it on a real 26.04 runner: exit 2 with the default profile, exit 0 with seccomp=unconfined, exit 0 for i386/alpine with the default profile, and exit 0 for i386/debian after upgrading the daemon to a build with the reverted profile.
The same thing breaks Git's own linux32 job, which runs in an i386/debian container: it cannot resolve host names, so apt update fails (PR #15205).
When a container job starts failing only on the new image: Pipeline Inbox for GitHub Actions Workflows, a plugin for JetBrains IDEs, lists the runs of all your repositories with their jobs and steps in an IDE tool window and notifies you when a run of yours or of your current branch fails, with a link to the failed job's log.
Why
- Docker 29.4.2 (May 1, 2026) added hardening for CVE-2026-31431: it blocks AF_ALG sockets and the
socketcall(2)multiplexer in the default seccomp profile. Its own release notes list a known issue: "The hardening can break 32-bit programs and i386 images" (Docker 29 release notes). - The issue explains the effect: i386 glibc, built for its default minimum kernel, makes socket calls through
socketcall, so name resolution fails. A musl-based image such asi386/alpineis not affected. - Docker 29.4.3 (May 6, 2026) replaced the seccomp deny with AppArmor and SELinux rules that block AF_ALG "without disrupting legitimate 32-bit workloads" (same release notes).
- The 26.04 image pins
docker-ceto 29.4.2 intoolset-2604.jsonas of today.
Fix 1: a newer Docker on the image
The fix on the image side is PR #15205, "[Ubuntu 26.04] Update Docker to 29.7.2". It is still open and not merged as of November 22, 2026, and issue #14790 is open. Nothing to change in your workflow when it ships; check the Docker version in the "Set up job" log (Runner Image, Included Software) or run docker version --format '{{.Server.Version}}' in a step. Any server version from 29.4.3 up has the revert.
Fix 2: seccomp=unconfined for that container
Until then, remove the seccomp filter for the 32-bit container only:
- run: docker run --rm --security-opt seccomp=unconfined i386/debian:bookworm getent hosts github.com
For a job container, options takes Docker create options (workflow syntax, jobs.<job_id>.container.options):
jobs:
linux32:
runs-on: ubuntu-latest
container:
image: i386/debian:bookworm
options: --security-opt seccomp=unconfined
What this gives up: the container runs with no seccomp filter at all, not only without the socketcall rule. Docker's release notes say not to use it as the workaround for this issue. Use it for a container that runs your own build and test code on a throwaway runner, not for untrusted images.
Docker's documented alternative is the older default profile seccomp/v0.2.1 from moby/profiles, which unblocks socketcall and keeps AF_ALG blocked for socket. The notes warn that such containers can still exploit CVE-2026-31431 through socketcall, and that you need a kernel with the fix. The download and --security-opt seccomp=PATH are in the release notes under 29.4.2, "Workaround"; I have not run that on a runner.
Fix 3: a musl-based i386 image
If your build allows it, i386/alpine works with the default profile on the 26.04 runner, because musl does not go through socketcall here (reported in #14790). It is a different libc, so only choose it when the 32-bit binary you test does not need glibc.
Fix 4: ubuntu-24.04 meanwhile
runs-on: ubuntu-24.04
The 24.04 image has Docker 28.0.4, where the same container resolves names. It holds until GitHub retires that image.
Telling it apart
- Inside the container, name lookups fail while the host's work:
getent hosts github.comexits 2 and prints nothing. - Only glibc i386 images fail. The same step on
i386/alpineor withseccomp=unconfinedpasses. - "Set up job" shows
ubuntu-26.04in the Runner Image group, and the server version is 29.4.2.
See failed jobs from IntelliJ IDEA
Pipeline Inbox for GitHub Actions Workflows, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the runs of all your repositories in an IDE tool window, with their jobs and steps and their job logs, and notifies you when a run of yours or of your current branch fails, with a link to the failed job's log. This is free. Re-running failed jobs (or all, with debug logging), cancelling runs, running workflows with inputs and approving deployments are Pro (US$1.50 a month, with a 30-day trial).
Install it free from JetBrains Marketplace
GitHub and GitHub Actions are trademarks of GitHub, Inc.; Ubuntu is a trademark of Canonical Ltd.; Docker is a trademark of Docker, Inc.; Debian is a registered trademark of Software in the Public Interest, Inc.; Alpine Linux is a trademark of its owners; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with, sponsored or endorsed by GitHub, Inc., Canonical, Docker, Inc., Software in the Public Interest, Inc. or JetBrains.
More: "The ubuntu-latest label will migrate to Ubuntu 26" · "client version 1.32 is too old" on Ubuntu 26.04 · kind load docker-image on Ubuntu 26.04 · Docker-in-Docker on Ubuntu 26.04 · Postgres never starts in Docker on Ubuntu 26.04 · "cannot enable executable stack" on Ubuntu 26.04 · 日本語