symfony docker code example
Example 1: symfony install doctrine
$ composer require doctrine/doctrine-bundle
Example 2: symfony demo with composer
$ composer create-project symfony/symfony-demo my_project
$ composer require doctrine/doctrine-bundle
$ composer create-project symfony/symfony-demo my_project