2 ms·
Do you actually need to just run them, or do you need to bring them up and down through automation? If you just need to have them running, nginx and /etc/hosts
by cess11 2y ago
Do you actually need to just run them, or do you need to bring them up and down through automation?
If you just need to have them running, nginx and /etc/hosts are your friends. You can script those as well, put a magic comment or two in hosts and split on that and change the inbetween programmatically, add a sites-available that maps port to name in hosts.
If you need to spin up, tear down, spin up, tear down, then containers is a more convenient option. Name your containers to make them discoverable, don't get bogged down in kubectl or similar tooling.