Skip to content

enable riscv64 static archives for docker and containerd - #605

Merged
crazy-max merged 1 commit into
docker:mainfrom
crazy-max:riscv64-static-archives
Nov 23, 2026
Merged

crazy-max merged 1 commit into
docker:mainfrom
crazy-max:riscv64-static-archives

Conversation

@crazy-max

@crazy-max crazy-max commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

follow-up

Add linux/riscv64 to the Docker Engine, containerd, and combined Docker platform lists so static builds and release images include the architecture.

Add linux/riscv64 to the Docker Engine, containerd, and combined Docker
platform lists so static builds and release images include the architecture.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max marked this pull request as ready for review November 21, 2026 20:47
@crazy-max
crazy-max requested a review from a team as a code owner November 21, 2026 20:47

@tianon-sso tianon-sso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yessss, LGTM

@tianon-sso

Copy link
Copy Markdown
Member

(this omission was one of the most surprising parts of docker-library/docker#592! 😄)

@crazy-max
crazy-max merged commit b382710 into docker:main Nov 23, 2026
1832 of 1833 checks passed
@crazy-max
crazy-max deleted the riscv64-static-archives branch November 23, 2026 13:24
gounthar added a commit to gounthar/docker-for-riscv64 that referenced this pull request Nov 24, 2026
* docs(readme): point at Docker's official riscv64 static binaries

Docker 29.10.1 is the first release with riscv64 static archives on
download.docker.com, in both the stable and test channels, after
moby/moby#44735 and docker/packaging#605 (both merged 2026-11-23).
Users who only need a tarball should take the official one.

The new section says what this project still adds, each point checked
on 2026-11-24: Docker's apt (trixie, noble) and Fedora 43 repositories
have no riscv64 packages, and the static bundle has no Compose or
Buildx plugin (upstream ships those as standalone riscv64 binaries).

The BuildKit note claimed moby/buildkit:buildx-stable-1 has no riscv64
image. Its manifest list now includes linux/riscv64, so the note says
that and keeps our image as the tested path, since the upstream image
has not been tried with this project.

Evidence: docker-29.10.1.tgz sha256 matched the published file; one
smoke-test run on a BPI-F3 (native riscv64) with dockerd in a
privileged trixie container: alpine and hello-world ran, legacy build
worked, bridge egress worked. Needed iptables installed first.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>

* docs(readme): stop the install when the checksum check fails

A failed sha256sum -c did not stop the tar, cp and dockerd lines, so a
pasted block could install an archive that failed verification. Chain
the steps with &&. Only dockerd is backgrounded, inside a brace group:
a trailing & on the whole chain would also background the sudo cp,
whose password prompt cannot be answered from a background job.
Checked with a stub chain in bash: rc=1 runs nothing after the check,
rc=0 runs extract and copy in the foreground and dockerd in background.

Signed-off-by: Bruno Verachten <gounthar@gmail.com>

---------

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants