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

  • docker login with non interactive session returns 401
  • Docker - Not able to telnet Linked Container
  • Docker and Kubernetes repository for linux
  • what is the default password of CoreOS? [closed]
  • Fleetctl job already exists
  • docker-compose persistent data on host and container
  • When i setup a bridge with the ip i got the warning that the adres already is in use. What to do ?

  • Use gRPC to communicate between containers
  • docker build is not work
  • Unable to use variable substitution in docker-compose
  • Disable cache for specific RUN commands
  • What is the difference between docker-compose up and docker-compose start?
  • Running GUI apps on docker container with a MacBookPro host
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.