I am trying to give my container a static ip I have got from a pool of static ip addresses I have so my ip is :
so according to this article : https://blog.jessfraz.com/post/ips-for-all-the-things/
I did following :
docker network create --subnet 10.100.50.0/22 --gateway 10.100.48.1 iptastic
docker run --rm -it --net iptastic --ip 10.100.50.45 nginx
but doing this I can see the bridge network has
inet set to the gateway ip which means I presumably messed up our network since I duplicated the gateway ip. Why does the bridge take the gateway IP address ? Is this a bug or am I doing something wrong ?