Docker Community Forums

Share and learn in the Docker community.

How to statement for set a network bridge to physical NIC in the dockerfile?

build

(Cainchen) #1

Hi guys,
Can I directly statement for setting a network bridge to physical NIC in the dockerfile?
I hope my docker image can bridge to physical NIC when I using it start a container but don’t want to use docker run command to implement this in later.
Thank a lot!
Cain