Create a Drupal 9 project with composer
Error N°1 : PHPunit not found
If uou have a message like : Add Phpunit via composer
CAUTION : PHPunit Version >= 8 is not compatable with drupal, so use the 7
composer require --dev phpunit/phpunit:7
Remove all everything not used by at least one container - Prune everything
docker system prune
Note : If you are on Docker 17.06.1 or higher and want to also prune volumes, add the --volumes flag:
docker system prune --volumes
Test Disk Write Performance With dd Command
dd is a basic command une in all linux distributions to copy data. You can also use this feature to test dis performance.
This is usefull if you want to do some actions just one time.
The drush comman is php-script alias src
On drupal 8 with drush
drush --uri=drupal.loc scr /modules/custom/mymodule/scripts/test-script.php