Magento version 2.2.4 Set up docker copy .env-dist > .env set up environtment docker-compose up -d extract magento2 to folder app docker exec -it bash (/var/www) $ bash ./permission.sh set up magento 2 enjoy the code.