Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ldconfig ¶
type Ldconfig struct {
// contains filtered or unexported fields
}
func NewFromArgs ¶ added in v1.18.1
NewFromArgs creates an Ldconfig struct from the args passed to the Cmd above. This struct is used to perform operations on the ldcache and libraries in a particular root (e.g. a container).
args[0] is the reexec initializer function name and is required.
The following flags are required:
--ldconfig-path=LDCONFIG_PATH the path to ldconfig on the host --container-root=CONTAINER_ROOT the path in which ldconfig must be run
The following flags are optional:
--is-debian-like-host Indicates that the host system is debian-like (e.g. Debian, Ubuntu)
as opposed to non-Debian-like (e.g. RHEL, Fedora)
See https://github.com/NVIDIA/nvidia-container-toolkit/pull/1444
The remaining args are folders where soname symlinks need to be created.
func (*Ldconfig) UpdateLDCache ¶
Click to show internal directories.
Click to hide internal directories.