workspaceFolder no longer accepts VS Code workspace files #4239
Labels
containers
Issue in vscode-remote containers
*duplicate
Issue identified as a duplicate of another issue(s)
Steps to Reproduce:
workspaceFolder
to the path for a VS Code.code-workspace
file.postCreateCommand
,postAttachCommand
, orpostStartCommand
Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: N/A
This started happening only with a newer version of VS Code (1.52 most likely, I cannot remember what version I was on before, but I usually update in a somewhat timely manner). Previously, if
workspaceFolder
was actually set to.code-workspace
file, it would open the workspace after attaching VS Code, now it just does not work. It looks like it is because it is setting the-w
option (working dir) on docker so now it actually must be a real directory. This was a nice hack to allow for multi-root workspaces inside of Docker containers. The only two folders we had in our workspace was the main app (/app
) and a extra Docker Compose only mount for the Docker file (/docker
) so the workspace was only to give easy access to the Docker files.The text was updated successfully, but these errors were encountered: