I have a php docker container where is my symfony project.
Here is my docker-compose.yml
php-fpm: build: ./php container_name: p
Following @Alex Blex answer: It works when you run it on all interfaces.
php bin/console server:run 0.0.0.0:8000