You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement support for passing Linux Network Devices to the container
network namespace.
The network device is passed during the creation of the container,
before the process is started.
It implements the logic defined in the OCI runtime specification.
Change-Id: I1306a783b84ead7b03eea679941bd4db9dc1e353
Signed-off-by: Antonio Ojea <[email protected]>
Copy file name to clipboardexpand all lines: libcontainer/configs/config.go
+3
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,9 @@ type Config struct {
115
115
// The device nodes that should be automatically created within the container upon container start. Note, make sure that the node is marked as allowed in the cgroup as well!
116
116
Devices []*devices.Device`json:"devices"`
117
117
118
+
// NetDevices are key-value pairs, keyed by network device name, moved to the container's network namespace.
0 commit comments