You have a Docker host that is running Linux (the server with Docker containers). You want to run commands inside a Docker container. How do you get into a Docker container?
You need to know the container ID of a running container. To find it run this:
docker ps -a
Run this command:
docker exec -it <container ID> bash