How could I bind docker container to specific external interface

355 views
Skip to first unread message

Priyal Rathi

unread,
Jul 15, 2016, 1:49:49 AM7/15/16
to docker-dev
I want to run two containers at two interfaces in Virtual Machine and want to let all traffic pass through one container which is running on one specific interface example eth1. How can I run a container and bind it to interface eth1?
Please help me find a solution.
Thanks,
Priyal

Madhu Venugopal

unread,
Jul 15, 2016, 7:58:28 AM7/15/16
to Priyal Rathi, docker-dev
PTAL https://github.com/docker/docker/blob/master/experimental/vlan-networks.md. MacVlan drivers are out of experimental in 1.12.0 release. Please try the latest RC4 (https://github.com/docker/docker/releases/tag/v1.12.0-rc4) and check if macvlan driver satisfies your requirement.

--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages