First install docker and docker-compose tools.
- just put drupal 7 code in
d7subdirectory and drupal 8 code ind8subdirectory. - then run
docker-compose build - then run
docker-compose up - D7 should be accessible on http://localhost:8251 and D8 on http://localhost:8250