I need to simulate an infrastructure design as per the below image.
I need container1/2/3 to have no internet access, but I want container4 to have access. A pots on SO suggests there is an internet and no-internet flag, but I cant seem to find anything in the Docker Compose docs. Could someone kindly share an example docker-compose.yml for this scenario, or point me to some documentation?