The following command lets us access a running container:
$ docker exec -it <container id> bash
The exec command lets you get inside a container and work with it.