You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.md
+1-19Lines changed: 1 addition & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Using a layer-based or union filesystem such as AUFS, or by computing the diff f
18
18
19
19
### Image JSON
20
20
21
-
Each image has an associated JSON structure which describes some basic information about the image such as date created, author, as well as execution/runtime configuration like its entrypoint, default arguments, CPU/memory shares, networking, and volumes.
21
+
Each image has an associated JSON structure which describes some basic information about the image such as date created, author, as well as execution/runtime configuration like its entrypoint, default arguments, networking, and volumes.
22
22
The JSON structure also references a cryptographic hash of each layer used by the image, and provides history information for those layers.
23
23
This JSON is considered to be immutable, because changing it would change the computed [ImageID](#imageid).
24
24
Changing it means creating a new derived image, instead of changing the existing image.
@@ -79,21 +79,6 @@ Note: Any OPTIONAL field MAY also be set to null, which is equivalent to being a
79
79
For Linux based systems, all of the following are valid: `user`, `uid`, `user:group`, `uid:gid`, `uid:group`, `user:gid`.
80
80
If `group`/`gid` is not specified, the default group and supplementary groups of the given `user`/`uid` in `/etc/passwd` from the container are applied.
81
81
82
-
-**Memory***integer*, OPTIONAL
83
-
84
-
Memory limit (in bytes).
85
-
This acts as a default value to use when the value is not specified when creating a container.
86
-
87
-
-**MemorySwap***integer*, OPTIONAL
88
-
89
-
MemorySwap is a platform-specific field to set total memory usage (memory + swap) for Linux based systems; set to `-1` to disable swap.
90
-
This acts as a default value to use when the value is not specified when creating a container.
91
-
92
-
-**CpuShares***integer*, OPTIONAL
93
-
94
-
CPU shares (relative weight vs. other containers).
95
-
This acts as a default value to use when the value is not specified when creating a container.
96
-
97
82
-**ExposedPorts***object*, OPTIONAL
98
83
99
84
A set of ports to expose from a container running this image.
@@ -196,9 +181,6 @@ Here is an example image configuration JSON document:
0 commit comments