###start containers docker-compose up
###enter php container and install symfony web
docker exec -it sym-php bash
symfony new project_name --full
Optional install pimcore demo app
echo 'create database pimcoredemo;' | docker exec -i sym-db mysql -uroot -proot
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/demo pimcoredemo
php pimcoredemo/vendor/bin/pimcore-install --mysql-host-socket=mysql --mysql-username=root --mysql-password=root --mysql-database=pimcoredemo --admin-username=admin --admin-password=admin