Symfony server:run in php Docker container
问题 I have a php docker container where is my symfony project. Here is my docker-compose.yml php-fpm: build: ./php container_name: php-fpm links: - db ports: - 9000:9000 - 8448:8448 - 8000:8000 working_dir: /var/www/html/ volumes: - ../app:/var/www/html volumes_from: - data tty: true env_file: - ./docker.env entrypoint: /entrypoint.sh I want to launch my symfony project with this command: php bin/console server:run localhost:8000 But it's not working when I want to access the url. I have this