Skip to content

Issue with project name in docker compose #96

@SignalMQ

Description

@SignalMQ

Hello everyone!

Today I installed the latest Docker Desktop and its extension for VS Code. I see in the Docker extension recommendations that it is now better to use this extension. But now after installing and running the YAML script I get the following error:

*  Executing task: docker compose -f 'docker-compose.yaml' up -d --build 

project name must not be empty

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command docker compose -f 'docker-compose.yaml' up -d --build" terminated with exit code: 1. 
 *  Executing task: docker compose -f 'docker-compose.yaml' up -d --build 

project name must not be empty

I tried to build the container manually with this command and it works in terminal:

docker compose -p aspnet-docker -f 'docker-compose.yaml' up -d --build

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions