You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
franperezlopez edited this page Jul 18, 2018
·
2 revisions
Why some containers expose the port 22?
Sometimes, you need to debug inside a container that was launched using docker-compose command line instead of Visual Studio. In these cases, you can attach Visual Studio to the process that is running inside the container, but first, you need to expose the port 22, which usually is reserved to remote shell. The whole process is described in detail in the following post.
Obviously, you can remove this port from the docker-compose configuration, or expose remote shell using a different port.