small typo fix
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
This commit is contained in:
parent
d974e9db4b
commit
3864175855
|
@ -33,7 +33,7 @@ Example use cases include sophisticated network configuration, volume garbage co
|
||||||
|
|
||||||
### Runtime Developers
|
### Runtime Developers
|
||||||
|
|
||||||
Runtime developers can build runtime implementations that run OCI-compliant bundles and container configuration, containing low-level OS and host specific details, on a particular platform.
|
Runtime developers can build runtime implementations that run OCI-compliant bundles and container configuration, containing low-level OS and host-specific details, on a particular platform.
|
||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
|
||||||
|
|
|
@ -150,7 +150,7 @@ For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mount
|
||||||
* **`noNewPrivileges`** (bool, OPTIONAL) setting `noNewPrivileges` to true prevents the processes in the container from gaining additional privileges.
|
* **`noNewPrivileges`** (bool, OPTIONAL) setting `noNewPrivileges` to true prevents the processes in the container from gaining additional privileges.
|
||||||
As an example, the ['no_new_privs'][no-new-privs] article in the kernel documentation has information on how this is achieved using a prctl system call on Linux.
|
As an example, the ['no_new_privs'][no-new-privs] article in the kernel documentation has information on how this is achieved using a prctl system call on Linux.
|
||||||
|
|
||||||
For Linux-based systems the process structure supports the following process specific fields.
|
For Linux-based systems the process structure supports the following process-specific fields.
|
||||||
|
|
||||||
* **`apparmorProfile`** (string, OPTIONAL) specifies the name of the AppArmor profile to be applied to processes in the container.
|
* **`apparmorProfile`** (string, OPTIONAL) specifies the name of the AppArmor profile to be applied to processes in the container.
|
||||||
For more information about AppArmor, see [AppArmor documentation][apparmor].
|
For more information about AppArmor, see [AppArmor documentation][apparmor].
|
||||||
|
|
|
@ -21,11 +21,11 @@ type Spec struct {
|
||||||
// Annotations contains arbitrary metadata for the container.
|
// Annotations contains arbitrary metadata for the container.
|
||||||
Annotations map[string]string `json:"annotations,omitempty"`
|
Annotations map[string]string `json:"annotations,omitempty"`
|
||||||
|
|
||||||
// Linux is platform specific configuration for Linux based containers.
|
// Linux is platform-specific configuration for Linux based containers.
|
||||||
Linux *Linux `json:"linux,omitempty" platform:"linux"`
|
Linux *Linux `json:"linux,omitempty" platform:"linux"`
|
||||||
// Solaris is platform specific configuration for Solaris containers.
|
// Solaris is platform-specific configuration for Solaris containers.
|
||||||
Solaris *Solaris `json:"solaris,omitempty" platform:"solaris"`
|
Solaris *Solaris `json:"solaris,omitempty" platform:"solaris"`
|
||||||
// Windows is platform specific configuration for Windows based containers, including Hyper-V containers.
|
// Windows is platform-specific configuration for Windows based containers, including Hyper-V containers.
|
||||||
Windows *Windows `json:"windows,omitempty" platform:"windows"`
|
Windows *Windows `json:"windows,omitempty" platform:"windows"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ type Hooks struct {
|
||||||
Poststop []Hook `json:"poststop,omitempty"`
|
Poststop []Hook `json:"poststop,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Linux contains platform specific configuration for Linux based containers.
|
// Linux contains platform-specific configuration for Linux based containers.
|
||||||
type Linux struct {
|
type Linux struct {
|
||||||
// UIDMapping specifies user mappings for supporting user namespaces on Linux.
|
// UIDMapping specifies user mappings for supporting user namespaces on Linux.
|
||||||
UIDMappings []LinuxIDMapping `json:"uidMappings,omitempty"`
|
UIDMappings []LinuxIDMapping `json:"uidMappings,omitempty"`
|
||||||
|
@ -383,7 +383,7 @@ type LinuxDeviceCgroup struct {
|
||||||
Access string `json:"access,omitempty"`
|
Access string `json:"access,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Solaris contains platform specific configuration for Solaris application containers.
|
// Solaris contains platform-specific configuration for Solaris application containers.
|
||||||
type Solaris struct {
|
type Solaris struct {
|
||||||
// SMF FMRI which should go "online" before we start the container process.
|
// SMF FMRI which should go "online" before we start the container process.
|
||||||
Milestone string `json:"milestone,omitempty"`
|
Milestone string `json:"milestone,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue