I have a block ip and different containers, I would like the ip of my block to be assigned to a container: A container = a block ip.
So here’s what I did:
docker network create –subnet xx.xx.xx.xx/24 –gateway xx.xx.xx.254 iptastic
docker run –net iptastic –ip xx.xx.xx.xx -p 8080:8080 –rm sigoden/proxyfor –web
I’ve also tried putting the ip in front of the port but when I make a web request, I get the ip of my machine and not the block.
MoskalykA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.