Skip to content

:AttachToContainer Results in "no image defined in the devcontainer.json" #27

@timnolte

Description

@timnolte

I'm using a docker-compose.yml for in the devcontainer.json in order to ensure that a number of Docker containers start up to provide the required services for a local development environment. After a "successful" :ComposeUp I can see the running containers but when running :AttachToContainer and selecting the primary container the result is an error of no image defined in the devcontainer.json. What is also interesting is that technically there should be a devcontainer build command that builds the Devcontainer even with a docker-compose.yml file. Currently it appears that this will only "build" a Dockerfile but won't actually "build" a Devcontainer that uses a docker-composer.yml file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions