Hi,
Just installed rancher. I’ve created my own user defined network for my docker containers using this method from the docker cli.
# create a new bridge network with your subnet and gateway for your ip block
$ docker network create --subnet 203.0.113.0/24 --gateway 203.0.113.254 iptastic
# run a nginx container with a specific ip in that block
$ docker run --rm -it --net iptastic --ip 203.0.113.2 nginx
# curl the ip from any other place (assuming this is a public ip block duh)
$ curl 203.0.113.2
I now need to define the the IP and select the iptastic network when creating my containers in Rancher, but rancher only lists Bridged, Managed, Container, Host & None.