$ git clone https://github.com/tulik/symfony-4-docker-runtime-env.git
$ cd symfony-4-docker-runtime-env
$ docker-compose up
$ docker-compose exec php-fpm bin/console doctrine:schema:update --force
or
$ docker-compose exec php-fpm composer req profiler
Copyright Note: Substantial portions of the solution was introduced by Kévin Dunglas.