Howto assign second ip to docker container with ip:port:port
I have a problem with docker and searched a couple of hours but cannot find a suitable answer for it. Let me explain : I have a vps running CoreOS with 2 ip‘s on it. What i want is to assign one ip to container a and the other ip to container b using the -p option.
Well i have assigned one ip to container but until now i cannot assign ip 2 to container B no matter what i try. I know you can use the option -p ip:port:port but when i do that i got the warning “Error starting userland proxy: listen tcp 184.108.40.206:25: bind: cannot assign requested address”
When i setup a bridge with the ip i got the warning that the adres already is in use. What to do ?