@@ -23,9 +23,9 @@ type Spec struct {
23
23
24
24
// Linux is platform-specific configuration for Linux based containers.
25
25
Linux * Linux `json:"linux,omitempty" platform:"linux"`
26
- // Solaris is platform-specific configuration for Solaris containers.
26
+ // Solaris is platform-specific configuration for Solaris based containers.
27
27
Solaris * Solaris `json:"solaris,omitempty" platform:"solaris"`
28
- // Windows is platform-specific configuration for Windows based containers, including Hyper-V containers .
28
+ // Windows is platform-specific configuration for Windows based containers.
29
29
Windows * Windows `json:"windows,omitempty" platform:"windows"`
30
30
}
31
31
@@ -144,9 +144,9 @@ type Hooks struct {
144
144
145
145
// Linux contains platform-specific configuration for Linux based containers.
146
146
type Linux struct {
147
- // UIDMapping specifies user mappings for supporting user namespaces on Linux .
147
+ // UIDMapping specifies user mappings for supporting user namespaces.
148
148
UIDMappings []LinuxIDMapping `json:"uidMappings,omitempty"`
149
- // GIDMapping specifies group mappings for supporting user namespaces on Linux .
149
+ // GIDMapping specifies group mappings for supporting user namespaces.
150
150
GIDMappings []LinuxIDMapping `json:"gidMappings,omitempty"`
151
151
// Sysctl are a set of key value pairs that are set for the container on start
152
152
Sysctl map [string ]string `json:"sysctl,omitempty"`
@@ -178,7 +178,7 @@ type Linux struct {
178
178
179
179
// LinuxNamespace is the configuration for a Linux namespace
180
180
type LinuxNamespace struct {
181
- // Type is the type of Linux namespace
181
+ // Type is the type of namespace
182
182
Type LinuxNamespaceType `json:"type"`
183
183
// Path is a path to an existing namespace persisted on disk that can be joined
184
184
// and is of the same type
0 commit comments