Skip to content

Start using Docker v29 #2354

@mathbunnyru

Description

@mathbunnyru

How docker build looks in v28: https://github.com/jupyter/docker-stacks/actions/runs/19243756730/job/55012499818#step:7:632

#22 exporting to image
#22 exporting layers
#22 exporting layers 2.2s done
#22 writing image sha256:65e9b1eb2e7829eb7cd399d7aaba9b51338895b37ec4a3880101476fed06ec99 done
#22 naming to quay.io/jupyter/docker-stacks-foundation done
#22 DONE 2.3s

How it looks in v29: https://github.com/jupyter/docker-stacks/actions/runs/19476158615/job/55736366342#step:7:574

#22 exporting to image
#22 exporting layers
#22 exporting layers 10.6s done
#22 exporting manifest sha256:988634a2ae68027c27c95a315df9f1873beae1b52a775a53fb36d6e928aea375 0.0s done
#22 exporting config sha256:69ac5ba219c11eb89eb2140e75f780143c6a4d034f8021429ac710f967079d02 0.0s done
#22 exporting attestation manifest sha256:3a08055d557be43ba68d5cd532462a59c319dbcb12e0002c8fa3c3720376bafa 0.0s done
#22 exporting manifest list sha256:9901a09ce01d5126aecbacc0a8b2ef5e8f2f151dd740039956441e8017f611af 0.0s done
#22 naming to quay.io/jupyter/docker-stacks-foundation:latest
#22 naming to quay.io/jupyter/docker-stacks-foundation:latest done
#22 unpacking to quay.io/jupyter/docker-stacks-foundation:latest
#22 unpacking to quay.io/jupyter/docker-stacks-foundation:latest 2.1s done
#22 DONE 12.8s

The problem it creates is docker manifest create, which we use: it can't work with manifests (maybe we can make it work in v29 though?)
https://github.com/jupyter/docker-stacks/actions/runs/19476158615/job/55740091596#step:9:32

INFO:__main__:Creating manifest for tag: quay.io/jupyter/docker-stacks-foundation:conda-25.9.1
quay.io/jupyter/docker-stacks-foundation:aarch64-conda-25.9.1 is a manifest list

The command which was run is: docker manifest create quay.io/jupyter/docker-stacks-foundation:conda-25.9.1 quay.io/jupyter/docker-stacks-foundation:aarch64-conda-25.9.1 quay.io/jupyter/docker-stacks-foundation:x86_64-conda-25.9.1

When inspecting old single-platform images using docker inspect it was giving lots of layers, now it gives a list of 2 manifests.

Are you a maintainer?

  • Yes, I am a maintainer

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