Looking at https://hub.docker.com/_/php I can see reference to php-cli and php-fpm.
Now, I am aware of the concepts of PHP FPM - Fast CGI Process Manager. I'm also aware the PHP can be run in the command line and for php composer and Symfony console.
Does the Docker php-fpm not have PHP CLI tools like php-fpm. Or is php-fpm a superset of php-cli ?
Why would one choose one or the other?
Thank you.