Skip to content

docker pull fails in docker-in-docker v3 #1658

Closed

Description

After v3.0.0 (commit a646de4, PR #1645), docker pull / docker compose pull inside the docker-in-docker container fails to extract image layers that contain whiteout files, with:

failed to extract layer (application/vnd.oci.image.layer.v1.tar+gzip sha256:…)
to overlayfs as "extract-…":
failed to convert whiteout file "etc/alternatives/.wh.pager.1.gz":
operation not permitted
  • Devcontainer feature: ghcr.io/devcontainers/features/docker-in-docker:3
  • Feature options: { "dockerDashComposeVersion": "v2", "moby": false }
  • Base image: mcr.microsoft.com/devcontainers/javascript-node:24-bookworm
  • Observed in two independent environments:
    • GitHub Codespaces Prebuilds
    • GitHub Actions ubuntu-24.04 runner via devcontainers/[email protected]

Activity

  1. jrunestone commented on May 19, 2026

    @jrunestone

    I'm having a (I assume) related issue using docker-in-docker:3 with Aspire, failing to extract the mcr.microsoft.com/azure-storage/azurite:3.35.0 image):

    failed to extract layer (application/vnd.docker.image.rootfs.diff.tar.gzip sha256:...) to overlayfs as "extract-729499678-Gwgl sha256:...": 
    failed to mount /var/lib/containerd/tmpmounts/containerd-mount2617017880: 
    mount source: "overlay", target: "/var/lib/containerd/tmpmounts/containerd-mount2617017880", 
    fstype: overlay, flags: 0, data: "workdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/work,upperdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs,lowerdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/4/fs,userxattr,index=off", err: invalid argument
    
  2. v-Kaniska244 commented on May 20, 2026

    @v-Kaniska244
    Contributor

    Hi George Witteman (@georgewitteman), Hi Johan Runsten (@jrunestone),

    Thank you for reporting this issue. A fix for this has been pushed now. Would you please retry and get back in case of further issues with this.

  3. georgewitteman commented on May 20, 2026

    @georgewitteman
    Author

    Looks like it worked! Thanks for the help @Kaniska244

  4. v-Kaniska244 commented on May 20, 2026

    @v-Kaniska244
    Contributor

    Closing the issue as confirmed by user.

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

Metadata

Metadata

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