How to automatically open a VSCode project/folder within an already running docker container?

I have a VSCode project/folder that is ran within Docker via the Remote-Containers extension.

Is there a way to automatically load the project/folder within the docker container, without using the Dockerfile/DockerCompose?

I don’t want VSCode to generate the container as I have other systems to do that.

I’ve read the docs for VSCode however the doesn’t seem to be a command argument to start VSCode already attached to a container.


Source: Docker Questions