install magento using docker code example
Example 1: set developer mode docker magento 2
docker-compose run --rm deploy magento-command deploy:mode:set developer
Example 2: install magento 2 docker
docker-compose run --rm deploy cloud-deploy
docker-compose run --rm deploy magento-command deploy:mode:set developer
docker-compose run --rm deploy cloud-deploy