Hello together,
ich just built a docker container with compose file like at the end of this text as part with two other docker containers.
All are working but just if “image:” is " php:8.2-fpm".
If it is “php:8.2” it doesnt work. and also if it is “php:latest”.
The container exits immediately.
Why is it not possible to use it without versionnumber and “-fpm”?
How could i use it with “php:latest”?
I cant get infos with docker logs or journalctl if the container isn
t running.
php-cgi:
image: php:latest
container_name: php-cgi-container
ports:
- 8900
volumes:
- ./www:/var/www/html
depends_on:
- mysql