Open Containers in Remote SSH Hosts using VSCode

Using the Remote Development extension pack, Visual Studio Code is able to open a Docker container running on the current system, and to open a folder on a remote host connected using SSH.

If there is a Docker container running on a remote SSH host, how can VSCode open a file/folder in this container?

Source: StackOverflow