How To Login To A Docker Container Shell

Author: , February 15th, 2021

First, get the container ID using docker ps:

Now run docker exec -it {ContainerID} /bin/bash:

You can make a simple shell script to ease typing a bit:

How To See a Process Tree Using the ps Command

Author: , December 16th, 2015

ps -afxt