Browse code

Merge pull request #35149 from AkihiroSuda/image-v1

image/spec: add historical information about v1 spec

Sebastiaan van Stijn authored on 2018/03/24 00:47:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,46 @@
0
+# Docker Image Specification v1.
1
+
2
+This directory contains documents about Docker Image Specification v1.X.
3
+
4
+The v1 file layout and manifests are no longer used in Moby and Docker, except in `docker save` and `docker load`.
5
+
6
+However, v1 Image JSON (`application/vnd.docker.container.image.v1+json`) has been still widely
7
+used and officially adopted in [V2 manifest](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md)
8
+and in [OCI Image Format Specification](https://github.com/opencontainers/image-spec).
9
+
10
+## v1.X rough Changelog
11
+
12
+All 1.X versions are compatible with older ones.
13
+
14
+### [v1.2](v1.2.md)
15
+
16
+* Implemented in Docker v1.12 (July, 2016)
17
+* The official spec document was written in August 2016 ([#25750](https://github.com/moby/moby/pull/25750))
18
+
19
+Changes:
20
+
21
+* `Healthcheck` struct was added to Image JSON
22
+
23
+### [v1.1](v1.1.md)
24
+
25
+* Implemented in Docker v1.10 (February, 2016)
26
+* The official spec document was written in April 2016 ([#22264](https://github.com/moby/moby/pull/22264))
27
+
28
+Changes:
29
+
30
+* IDs were made into SHA256 digest values rather than random values
31
+* Layer directory names were made into deterministic values rather than random ID values
32
+* `manifest.json` was added 
33
+
34
+### [v1](v1.md)
35
+
36
+* The initial revision
37
+* The official spec document was written in late 2014 ([#9560](https://github.com/moby/moby/pull/9560)), but actual implementations had existed even earlier
38
+
39
+
40
+## Related specifications
41
+
42
+* [Open Containers Initiative (OCI) Image Format Specification v1.0.0](https://github.com/opencontainers/image-spec/tree/v1.0.0)
43
+* [Docker Image Manifest Version 2, Schema 2](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md)
44
+* [Docker Image Manifest Version 2, Schema 1](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-1.md) (*DEPRECATED*)
45
+* [Docker Registry HTTP API V2](https://docs.docker.com/registry/spec/api/)