Skip to content

Docker-in-Docker: Docker Compose failing to install on ubuntu:jammy #619

Description

@jacobwoffenden

Seeing

29.32 (*) Installing compose-switch...
30.02 compose_switch_version=1.0.5
30.41 curl: (60) SSL: no alternative certificate subject name matches target host name 'objects.githubusercontent.com'
30.41 More details here: https://curl.se/docs/sslcerts.html
[2023-07-19T16:38:37.334Z] 
30.41 
30.41 curl failed to verify the legitimacy of the server and therefore could not
30.41 establish a secure connection to it. To learn more about this situation and
30.41 how to fix it, please visit the web page mentioned above.
30.41 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.

when using

"ghcr.io/devcontainers/features/docker-in-docker:2": {}

The only way I can get docker-in-docker to install is when specifying "dockerDashComposeVersion": "none"

Maybe related to

Important

From July 2023 Compose V1 stopped receiving updates. It’s also no longer available in new releases of Docker Desktop.

Compose V2 is included with all currently supported versions of Docker Desktop. For more information, see Migrate to Compose V2.

Docker’s documentation refers to and describes Compose V2 functionality.

source: https://docs.docker.com/compose/install/standalone/

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