magento 2 docker local code example
Example: set developer mode docker magento 2
docker-compose run --rm deploy magento-command deploy:mode:set developer
docker-compose run --rm deploy magento-command deploy:mode:set developer