I was messing around with Windows based docker images, running IIS and an ASP.NET 4.7.x application and wanted to connect to it’s “shell” to explore what was installed etc.
For Linux container you’ll probably use bash. From a Windows container we can just use powershell
Just change “the-container-id” to the id of the container you wish to connect to
docker container exec -it the-container-id powershell