Skip to content
Search openEuler

    Browse this documentation

    The official openEuler container image as an application base — docker_img artifact-tree findings, minimal rootfs traits and multi-arch notes

    This page’s evidence has two tracks:

    Container track (E2) — the openeuler/openeuler:latest image this site keeps using (= 24.03 LTS SP4, sha256:17c15554…4558e, aarch64): base-trait verification covers dnf/rpm versions and repository configuration (P1, evidence/logs/openeuler-p1-facts.log), the docker_img/ artifact tree (P2, evidence/logs/openeuler-p2-artifacts.log), and package install & image loading (P4, evidence/logs/openeuler-p4-isulad-vm.log) — supported per-item across P1/P2/P4.

    Artifact-tree probe (E2) — the official image tree’s docker_img/ directory is present (probed 2026-11-04, evidence/logs/openeuler-p2-artifacts.log).

    • Same origin as the server: the package chain inside the container matches the host openEuler (same .oe2403sp4 marker) — dev containers, CI build containers and production hosts line up, eliminating the “installs in CI, fails in production” drift;
    • Toolchain ready: dnf 4.16.2 plus a complete repository configuration (verified) works out of the box, saving the repo-bootstrap layer compared with building from scratch;
    • Multi-arch: the official image tree publishes per architecture (this site’s E2 uses aarch64, the VM side x86_64).
    $ cat /etc/os-release # VERSION="24.03 (LTS-SP4)"
    $ dnf --version # 4.16.2 (no apt-get; this is the dnf world)
    $ dnf repolist # EPOL/OS/everything/update… 7 repositories preconfigured

    Migrating an existing Dockerfile onto an openEuler base — three high-frequency changes (package-name/casing differences come from testing; the 302 phenomenon was a one-off reachability probe):

    1. Package names: apt-get → dnf; docker.io-style docker-ce → openEuler’s docker-engine (or a container may not need docker at all — use the host); epel-release does not exist (extra software goes through EPOL, already in the default repos);
    2. Casing: dnf install isulad fails while iSulad succeeds (same for BiSheng-*) — a casing typo in CI breaks the pipeline directly;
    3. Repository pinning: reachability of the official source’s 302 redirect varies across networks (one 302 recorded in this site’s container testing; the intermittent-timeout error shape and a real VM DNS failure are in the troubleshooting page) — production Dockerfiles pin baseurl to a mirror (Huawei Cloud / Tsinghua), one sed away (template on the EPOL page).
    BaseSizePackage mgmtFits
    Official openEuler imageMedium (a few hundred MB, estimated, untested)dnf/yum+rpmArtifacts on openEuler hosts, domestic-compliance scenarios
    AlpineTinyapkExtreme size, mostly static linking
    Ubuntu/DebianLargeaptGeneral artifacts with broad ecosystem dependencies

    The openEuler base’s value is not “smaller than whom” — it is origin alignment with the openEuler production host. If your production hosts are openEuler, choosing it as the base surfaces ABI and package-version issues before production.

    • Multi-arch builds untested (buildx multi-platform builds of the openEuler base image — this page only has independent aarch64-container and x86_64-VM facts);
    • Image-layer slimming (layer-size comparison of dnf clean all / —installroot) not benchmarked;
    • Concrete tag list inside docker_img/ not enumerated (defer to the official image tree at the time).