Exploring a Docker container’s file system

There are three ways to get into bash in a docker container:

docker exec -it containername bash

docker exec -it containername “bash”

docker exec -it containername /bin/bash

Once you run those from the command line, it brings you to the top level of the file system of your Docker container: