Open texnicii opened 3 years ago
Same here. I get unknown docker command: "compose path/to/compose.yml"
when using the following in settings.json
:
{
"symfony-vscode": {
"shellExecutable": "/bin/bash",
"shellCommand": "docker-compose -f /path/to/compose.yml exec container_name bash"
}
}
seems like the command is split at docker-
somehow. FYI there already is an open issue at vscode for resolving variables in settings.json
: https://github.com/microsoft/vscode/issues/2809
Now I don't understand how I can use
docker-compose exec <container_name>
insteaddocker exec <container_id>
insymfony-vscode.shellCommand
setting.