Skip to content

Support for Debian "trixie" release in docker-outside-of-docker feature #1059

Closed

Description

@dalybrown

Hello,

Is there a reason why the testing release of Debian (trixie or sid) is not supported in this list?

DOCKER_LICENSED_ARCHIVE_VERSION_CODENAMES="bookworm buster bullseye bionic focal hirsute impish jammy noble"

I couldn't find any information on why the codename needs to be checked. For development, we like to use the sid repository for many packages, but that will update our /etc/os-release information to trixie (currently) and therefore won't be supported. Consequently, the feature can't be installed.

Can we add trixie to this list? Thanks!

Activity

  1. erwinkramer commented on May 13, 2025

    @erwinkramer

    Also wondering this for the docker-in-docker feature, let me know if i need to make a separate issue for that. Want to run this inside image mcr.microsoft.com/devcontainers/dotnet:dev-10.0-preview-trixie

  2. skatsubo commented on Aug 14, 2025

    @skatsubo
    Contributor

    As Trixie went stable, it's time to update the abovementioned DOCKER_LICENSED_ARCHIVE_VERSION_CODENAMES, right?

    Daly Brown (@dalybrown)

    I couldn't find any information on why the codename needs to be checked.

    I guess it's for installing from download.docker.com

    # Set up the necessary apt repos (either Microsoft's or Docker's)
    if [ "${USE_MOBY}" = "true" ]; then
    cli_package_name="moby-cli"
    # Import key safely and import Microsoft apt repo
    curl -sSL ${MICROSOFT_GPG_KEYS_URI} | gpg --dearmor > /usr/share/keyrings/microsoft-archive-keyring.gpg
    echo "deb [arch=${architecture} signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/microsoft-${ID}-${VERSION_CODENAME}-prod ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/microsoft.list
    else
    # Name of proprietary engine package
    cli_package_name="docker-ce-cli"
    # Import key safely and import Docker apt repo
    curl -fsSL https://download.docker.com/linux/${ID}/gpg | gpg --dearmor > /usr/share/keyrings/docker-archive-keyring.gpg
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" > /etc/apt/sources.list.d/docker.list
    fi

    Actually Trixie on download.docker.com became available since April moby/moby#49494

  3. erwinkramer commented on Aug 29, 2025

    @erwinkramer

    Sergey Katsubo (@skatsubo), Álvaro Rausell Guiard (@AlvaroRausell) it's kind of supported now, but not with moby enabled:

    10.72 E: Unable to locate package moby-cli
    10.72 E: Unable to locate package moby-buildx
    10.72 E: Unable to locate package moby-engine
    10.73 (!) Packages for moby not available in OS debian trixie (amd64).
    
  4. skatsubo commented on Aug 29, 2025

    @skatsubo
    Contributor

    but not with moby enabled

    Right.
    moby: true is not working currently for trixie

    due to missing moby package in packages.microsoft.com/repos/microsoft-debian-trixie-prod

    Discussed in #1442

  5. threema-donat commented on Sep 1, 2025

    @threema-donat

    Sergey Katsubo (@skatsubo) Is it correct that this is still not working with trixie although the merge request #1442 is completed? I'm trying to build a dev container with trixie and it says:

    E: Unable to locate package moby-buildx
    (!) It seems packages for moby not available in OS debian trixie (amd64). To resolve, either: (1) set feature option '"moby": false' , or (2) choose a compatible OS version (eg: 'ubuntu-24.04').
    [2025-09-01T05:38:56.758Z] ERROR: Feature "Docker (docker-outside-of-docker)" (ghcr.io/devcontainers/features/docker-outside-of-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker for help troubleshooting this error.
    
  6. skatsubo commented on Sep 1, 2025

    @skatsubo
    Contributor

    Donat (@threema-donat)

    Is it correct that this is still not working with trixie although the merge request #1442 is completed?

    Right. You can follow suggestions in the error message for a workaround.
    More details in the linked PR and in comments above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions