Skip to content

docker-outside-of-docker error: "The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed" #423

@stuartleeks

Description

@stuartleeks

In the last day or two I have started to hit this error when installing the docker-outside-of-docker feature:

------
 > [dev_containers_target_stage 4/4] RUN cd /tmp/build-features/docker-outside-of-docker_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh:
#15 1.035 Get:6 https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye/main amd64 Packages [110 kB]
#15 1.073 Err:3 https://dl.yarnpkg.com/debian stable InRelease
#15 1.073   The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
#15 1.196 Get:7 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
#15 2.868 Get:8 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [216 kB]
#15 2.916 Get:9 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]

#15 4.934 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
#15 4.934 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
#15 4.935 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.
------

The devcontainer.json I'm using is:

{
	"name": "Go",
	"image": "mcr.microsoft.com/devcontainers/go:0-1.17-bullseye",
	"features": {
		"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
	}
}

NOTE: Changing to the 1.18-bullseye image version successfully installs the feature

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