Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct work with docker-compose #61

Open
texnicii opened this issue Apr 22, 2021 · 1 comment
Open

Correct work with docker-compose #61

texnicii opened this issue Apr 22, 2021 · 1 comment

Comments

@texnicii
Copy link

texnicii commented Apr 22, 2021

Now I don't understand how I can use docker-compose exec <container_name> instead docker exec <container_id> in symfony-vscode.shellCommand setting.

@dithom
Copy link

dithom commented Aug 4, 2021

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: microsoft/vscode#2809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants