Exclusive network interface for docker

Hi team,

Need your guidance to exclusive assign the phyjical interface to docker.

Infra details are given below:-
CentOS release 6.6 (Final)
Network interface 2

Thank You
Atul Yadav

We could use a bit more info on what you are trying to do. I see two possibilities.

  1. You are trying to set the interface for the docket daemon in which case the -H flag is your friend "-H IP of interface:Port to run docker on.
  2. Trying to map a port to a container in this case the -p flag will be your friend. " docker run -p IP:port:port.

You may need to combine both to get the results you are looking for.

I hope that helps!