Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
If I run
docker run -it ubuntu bash
Does it actually SSH into the container, or does it use another protocol?
docker run -it --rm ubuntu su -
No, it uses an internal "attach protocol" via the Docker daemon.
Required, but never shown