How to co-install composer 1 and composer 2

Crop anonymous male cyber spy hacking portable computer with codes on screen while sitting at table

If you followed the steps at How to set-up a Drupal or WordPress site locally using Docker to set-up a local Drupal 8 site using docker, you will find that the PHP container has composer2 and that Drupal 8 is not compatible with it. The easiest way to get composer 1 up and running when […]