mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00

This should never be pulled into the remote client. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
21 lines
547 B
Go
21 lines
547 B
Go
//go:build !remote
|
|
// +build !remote
|
|
|
|
package libpod
|
|
|
|
import (
|
|
"github.com/containers/podman/v4/libpod/define"
|
|
spec "github.com/opencontainers/runtime-spec/specs-go"
|
|
)
|
|
|
|
func (c *Container) platformInspectContainerHostConfig(ctrSpec *spec.Spec, hostConfig *define.InspectContainerHostConfig) error {
|
|
// Not sure what to put here. FreeBSD jails use pids from the
|
|
// global pool but can only see their own pids.
|
|
hostConfig.PidMode = "host"
|
|
|
|
// UTS namespace mode
|
|
hostConfig.UTSMode = c.NamespaceMode(spec.UTSNamespace, ctrSpec)
|
|
|
|
return nil
|
|
}
|