Selecting user defined networks

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.

Hi,
rancher does not support in the latest version (0.63) networks defined with docker.
i don’t know if it’s planned to be supported shortly.

best regards,
Charles.

Someone has opened an issue requesting support for Docker networking:

https://github.com/rancher/rancher/issues/4053