I am new to Docker and catching up. I have a container on private repo that I have no access to (eg; no access to op functionality of the repo). I need to restrict access to the container I pushed to the repo to handful list of ip(s) … example; if the incoming request ip is in this list:
allow access to the container and the service hosted in the container. otherwise deny… I made up these ip numbers
I understand I can do this via iptables. is there an example that I can follow? build images and test run containers on windows 10 prior to push.
Thank you for the help