Equivalent to vscode "attach vscode" to a running docker container?

Same requirement here, I found that the “dev containers” allows me to achieve the same