From fb860ad45e66bc28c0d32a36b3b54bd081187a8e Mon Sep 17 00:00:00 2001 From: Parav Pandit Date: Fri, 19 Jan 2018 12:28:48 -0600 Subject: [PATCH] readme: Updated for new option support for mac address New option to choose a VF based on MAC address is added. Signed-off-by: Parav Pandit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index bc6b7e1..fabb198 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,16 @@ Below command created privileged network. All containers running in this network $ docker network create -d passthrough --subnet=194.168.1.0/24 -o netdevice=ens2f0 -o mode=sriov -o vlan=100 -o privileged=1 customer1 ``` +**4.5** Selecting specific VF based on MAC address for a container + +There might be a need for a user to choose a specific VF from the available pool. +This is supported based on specifing the MAC address while starting a container. + +``` +$ docker run --net=customer1 --mac-address= -itd --name=web nginx +``` + + **5.** Test it out Passthrough mode **5.1** Now you are ready to create a new network