I found an article about develop on remote docker host for visual studio code, But I need something like this for Visual Studio 2022 Enterprise Edition
How to develop on remote docker host in Visual Studio 2022? (Build, Debug, Test)
Some info I hope to be useful
As you can see in 2. Using DOCKER_HOST environment variable to set up the target engine in manual way we can use DOCKER_HOST
to run docker in remote host, But I do not know how to set this variable in Visual Studio dcproj for Remote Development and remote Debugging and Remote Testing?
The container tools in VS do not support launching containers except through Docker Desktop locally.
The closest work-around for this is to launch the container(s) through the Docker CLI and then attach the VS debugger using the remote container debugging support: https://learn.microsoft.com/en-us/visualstudio/debugger/attach-to-process-running-in-docker-container