Skip to content

docker-outside-of-docker fails to install #842

@jDmacD

Description

@jDmacD
3.830 Err:1 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 moby-buildx amd64 0.12.1-debian12u1
3.830   File has unexpected size (34144692 != 34094360). Mirror sync in progress? [IP: 13.79.173.94 443]
3.830   Hashes of expected file:
3.830    - SHA256:386e64bb33449d6abd76930b06d37f373fc073e095545b1f7761eea2d055fcd2
3.830    - Filesize:34094360 [weak]

This was working fine 3 days ago. Due to the nature of the error it might be a "wait a few hours" type of problem

rm -rf /tmp/dev-container-features/docker-outside-of-docker_1:
0.094 ===========================================================================
0.094 Feature       : Docker (docker-outside-of-docker)
0.094 Description   : Re-use the host docker socket, adding the Docker CLI to a container. Feature invokes a script to enable using a forwarded Docker socket within a container to run Docker commands.
0.094 Id            : ghcr.io/devcontainers/features/docker-outside-of-docker
0.094 Version       : 1.3.2
0.094 Documentation : https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker
0.094 Options       :
0.094     VERSION="latest"
0.094     MOBY="true"
0.094     DOCKERDASHCOMPOSEVERSION="v2"
0.094     INSTALLDOCKERBUILDX="true"
0.094 ===========================================================================
0.106 Distro codename  'bookworm'  matched filter  'bookworm buster bullseye bionic focal jammy'
0.387 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.392 Get:2 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm InRelease [3617 B]
0.431 Get:3 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
0.447 Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.455 Get:5 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main all Packages [342 B]
0.488 Get:6 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 Packages [25.9 kB]
0.512 Get:7 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
1.221 Get:8 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
1.222 Get:9 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
2.233 Fetched 9217 kB in 2s (4619 kB/s)
2.233 Reading package lists...
2.790 Reading package lists...
3.341 Building dependency tree...
3.496 Reading state information...
3.711 Recommended packages:
3.711   pigz
3.733 The following NEW packages will be installed:
3.733   moby-buildx moby-cli
3.830 0 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
3.830 Need to get 49.7 MB of archives.
3.830 After this operation, 113 MB of additional disk space will be used.
3.830 Get:1 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 moby-buildx amd64 0.12.1-debian12u1 [34.1 MB]
3.830 Err:1 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 moby-buildx amd64 0.12.1-debian12u1
3.830   File has unexpected size (34144692 != 34094360). Mirror sync in progress? [IP: 13.79.173.94 443]
3.830   Hashes of expected file:
3.830    - SHA256:386e64bb33449d6abd76930b06d37f373fc073e095545b1f7761eea2d055fcd2
3.830    - Filesize:34094360 [weak]
3.908 Get:2 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm/main amd64 moby-cli amd64 24.0.9-debian12u1 [15.6 MB]
4.724 Fetched 15.6 MB in 1s (16.1 MB/s)
4.724 E: Failed to fetch https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod/pool/main/m/moby-buildx/moby-buildx_0.12.1-debian12u1_amd64.deb  File has unexpected size (34144692 != 34094360). Mirror sync in progress? [IP: 13.79.173.94 443]
4.724    Hashes of expected file:
4.724     - SHA256:386e64bb33449d6abd76930b06d37f373fc073e095545b1f7761eea2d055fcd2
4.724     - Filesize:34094360 [weak]
4.724 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
4.728 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.
------
Dockerfile.extended:33
--------------------
  32 |     
  33 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=docker-outside-of-docker_1,target=/tmp/build-features-src/docker-outside-of-docker_1 \
  34 | >>>     cp -ar /tmp/build-features-src/docker-outside-of-docker_1 /tmp/dev-container-features \
  35 | >>>  && chmod -R 0755 /tmp/dev-container-features/docker-outside-of-docker_1 \
  36 | >>>  && cd /tmp/dev-container-features/docker-outside-of-docker_1 \
  37 | >>>  && chmod +x ./devcontainer-features-install.sh \
  38 | >>>  && ./devcontainer-features-install.sh \
  39 | >>>  && rm -rf /tmp/dev-container-features/docker-outside-of-docker_1
  40 |     
--------------------

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