You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an Express App project and open it in VS Code -> Command Palette -> Add Docker files to workspace -> Node.js -> Enter port -> Close the workspace folder.
Create a new folder -> Move the Express App project into the new folder.
Right click the docker-compose.yml file -> Select "Compose Up".
Navigate to "Containers" view -> Right click the compose group -> Select "Compose Down".
Check whether compose down the container successfully.
Expect:
Compose down the container successfully without any error.
Actual:
Fail to compose down the container with an error.
More Info:
This issue also reproduces for "Compose Logs/Compose Restart" commands.
The text was updated successfully, but these errors were encountered:
What's happening is basically contradictory information from compose. They use the paths for the config files, relative to cwd of the docker-compose up command execution; but they stamp the working directory as the folder containing the config files.
For example:
Compose up "NetNoSsl\docker-compose.yml" from directory: D:\Sandbox
Working dir label: D:\Sandbox\NetNoSsl
Config files label: NetNoSsl\docker-compose.yml
I don't think that this is desirable behavior; IMO the config files should always be relative to the working dir--so either working dir should be "D:\Sandbox" above, or config files should be just "docker-compose.yml".
In terms of solving the problem--I think I'll just take the filenames only from the config files label, i.e. "docker-compose.yml" instead of "NetNoSsl\docker-compose.yml". Having a working dir that doesn't directly contain the config files is probably unusual.
OS: All
Build Version: 20210114.1
Repro Steps:
Expect:
Compose down the container successfully without any error.
Actual:
Fail to compose down the container with an error.
More Info:
This issue also reproduces for "Compose Logs/Compose Restart" commands.
The text was updated successfully, but these errors were encountered: