How to Use docker to Build staging Test Environment

  docker, question

I want to use docker to build a test environment. In the case of only one machine and one domain name, I can support different developers to deploy different project codes in this environment. I can use the mode of domain name+port. At the same time, I can access and test different test environments. It is probably as follows:

I don’t know how to realize this usage better.

Docker can create virtual network cards, just make a few more. If you need domain name access, write it in /etc/hosts.