Define the environment variable APP_RUNTIME for your application. Dotenv Component is executed after Runtime Component, so APP_RUNTIME must be available in your container. docker run \ -e ...
This project is made with Symfony 5.4.