diff --git a/components/engine/image/spec/v1.1.md b/components/engine/image/spec/v1.1.md
index ce761f112a..de74d91a19 100644
--- a/components/engine/image/spec/v1.1.md
+++ b/components/engine/image/spec/v1.1.md
@@ -223,9 +223,7 @@ whitespace. It has been added to this example for clarity.
container using the image. This field can be null, in
which case any execution parameters should be specified at creation of
the container.
-
string
@@ -234,9 +232,7 @@ whitespace. It has been added to this example for clarity.
The username or UID which the process in the container should run as. This acts as a default value to use when the value is not specified when creating a container.
-All of the following are valid:
-useruiduid:groupuser:gidIf group/gid is not specified, the
default group and supplementary groups of the given
user/uid in /etc/passwd
@@ -284,13 +279,11 @@ whitespace. It has been added to this example for clarity.
map[string]struct{} and is represented in JSON as
an object mapping its keys to an empty object. Here is an
example:
-
{
"8080": {},
"53/udp": {},
"2356/tcp": {}
}
-
Its keys can be in the format of:
"tcp" if not
- specified.
-
- These values act as defaults and are merged with any specified
- when creating a container.
+ specified. These values act as defaults and are merged with any
+ specified when creating a container.
array of strings
@@ -367,7 +358,6 @@ whitespace. It has been added to this example for clarity.
The rootfs key references the layer content addresses used by the
image. This makes the image config hash depend on the filesystem hash.
rootfs has two subkeys:
-
type is usually set to layers.
@@ -376,10 +366,7 @@ whitespace. It has been added to this example for clarity.
diff_ids is an array of layer content hashes (DiffIDs), in order from bottom-most to top-most.
"rootfs": {
"diff_ids": [
"sha256:c6f988f4874bb0add23a778f753c65efe992244e148a1d2ec2a8b664fb66bbd1",
@@ -396,7 +383,6 @@ whitespace. It has been added to this example for clarity.
history is an array of objects describing the history of
each layer. The array is ordered from bottom-most layer to top-most
layer. The object has the following fields.
-
created: Creation time, expressed as a ISO-8601 formatted
diff --git a/components/engine/image/spec/v1.2.md b/components/engine/image/spec/v1.2.md
index 789680c7a7..2ea3feec92 100644
--- a/components/engine/image/spec/v1.2.md
+++ b/components/engine/image/spec/v1.2.md
@@ -223,9 +223,7 @@ whitespace. It has been added to this example for clarity.
container using the image. This field can be null, in
which case any execution parameters should be specified at creation of
the container.
-
string
@@ -234,9 +232,7 @@ whitespace. It has been added to this example for clarity.
The username or UID which the process in the container should run as. This acts as a default value to use when the value is not specified when creating a container.
-All of the following are valid:
-useruiduid:groupuser:gidIf group/gid is not specified, the
default group and supplementary groups of the given
user/uid in /etc/passwd
@@ -284,13 +279,11 @@ whitespace. It has been added to this example for clarity.
map[string]struct{} and is represented in JSON as
an object mapping its keys to an empty object. Here is an
example:
-
{
"8080": {},
"53/udp": {},
"2356/tcp": {}
}
-
Its keys can be in the format of:
"tcp" if not
- specified.
-
- These values act as defaults and are merged with any specified
- when creating a container.
+ specified. These values act as defaults and are merged with
+ any specified when creating a container.
array of strings
@@ -364,7 +355,6 @@ whitespace. It has been added to this example for clarity.
["CMD", arg1, arg2, ...] : exec arguments directly["CMD-SHELL", command] : run command with system's default shellstruct
@@ -426,7 +414,6 @@ whitespace. It has been added to this example for clarity.
The rootfs key references the layer content addresses used by the
image. This makes the image config hash depend on the filesystem hash.
rootfs has two subkeys:
-
type is usually set to layers.
@@ -435,10 +422,7 @@ whitespace. It has been added to this example for clarity.
diff_ids is an array of layer content hashes (DiffIDs), in order from bottom-most to top-most.
"rootfs": {
"diff_ids": [
"sha256:c6f988f4874bb0add23a778f753c65efe992244e148a1d2ec2a8b664fb66bbd1",
@@ -455,7 +439,6 @@ whitespace. It has been added to this example for clarity.
history is an array of objects describing the history of
each layer. The array is ordered from bottom-most layer to top-most
layer. The object has the following fields.
-
created: Creation time, expressed as a ISO-8601 formatted
@@ -478,9 +461,7 @@ whitespace. It has been added to this example for clarity.
filesystem).
"history": [
{
"created": "2015-10-31T22:22:54.690851953Z",
diff --git a/components/engine/image/spec/v1.md b/components/engine/image/spec/v1.md
index fce3a06e36..c1415947f1 100644
--- a/components/engine/image/spec/v1.md
+++ b/components/engine/image/spec/v1.md
@@ -17,12 +17,10 @@ This specification uses the following terms:
null, in
which case any execution parameters should be specified at creation of
the container.
-
string
@@ -255,9 +251,7 @@ Here is an example image JSON file:
The username or UID which the process in the container should run as. This acts as a default value to use when the value is not specified when creating a container.
-All of the following are valid:
-useruiduid:groupuser:gidIf group/gid is not specified, the
default group and supplementary groups of the given
user/uid in /etc/passwd
@@ -305,13 +298,11 @@ Here is an example image JSON file:
map[string]struct{} and is represented in JSON as
an object mapping its keys to an empty object. Here is an
example:
-
{
"8080": {},
"53/udp": {},
"2356/tcp": {}
}
-
Its keys can be in the format of:
"tcp" if not
- specified.
-
- These values act as defaults and are merged with any specified
+ specified. These values act as defaults and are merged with any specified
when creating a container.