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
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:
I tried to build the container manually with this command and it works in terminal: