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 149.210.201.221:25: bind: cannot assign requested address”

  • Containers - What are their benefits, if they can't run across platform
  • Deis Workflow v2.9.0 deis pull deis/example-go -a <app-name> Error
  • Windows Server Containers domain account auth
  • exit and delete all but the latest docker container
  • Why Docker/Containers has it's own networking concept(CNM/CNI) instead of using VM networking?
  • Unable to reach Bash Shell on 'docker attach'
  • When i setup a bridge with the ip i got the warning that the adres already is in use. What to do ?

  • Can't figure out how I have to build my Docker architecture
  • how to setup a docker image on Arukas.io?
  • Creating a new PostgreSQL user in Dockerfile
  • All public image pulls fail with “filesystem layer verification failed for digest sha256”
  • How can I install python modules in a docker image?
  • Docker: TLS handshake timeout
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.