When running the "Build Image …" context menu item from a Dockerfile, the following error message is output in the VS Code "Output" panel:
Error: The "Containers: Docker" task does not specify a command or a dependsOn property. The task is ignored. Related definition:
{
"type": "shell",
"id": "shell,docker build --pull --rm -f \"Dockerfile\" -t test:latest \".\",",
"problemMatcher": [],
"label": "Containers: Docker"
}
When running the "Build Image …" context menu item from a Dockerfile, the following error message is output in the VS Code "Output" panel: