mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00

For FreeBSD, we need the name of the 'network jail' which is the parent of all containers in a pod. Having a separate jail for the network configuration also simplifies the implementation of CNI plugins so we use this pattern for solitary containers as well as pods. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
13 lines
324 B
Go
13 lines
324 B
Go
//go:build freebsd
|
|
// +build freebsd
|
|
|
|
package libpod
|
|
|
|
type containerPlatformState struct {
|
|
// NetworkJail is the name of the container's network VNET
|
|
// jail. Will only be set if config.CreateNetNS is true, or
|
|
// the container was told to join another container's network
|
|
// namespace.
|
|
NetworkJail string `json:"-"`
|
|
}
|