Running the container :

If we want to enter inside the container and modify certain things we could use docker exec command.

docker exec -it <container-name or container id> /bin/sh

After entering inside the container using docker exec command , we can use supervisorctl command to see the list of process managed by supervisor . Here we are managing nginx and php-fpm through supervisor.