Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.58 KB

File metadata and controls

24 lines (16 loc) · 1.58 KB
 
Nov 8, 2016
Nov 8, 2016
1
# <a name="filesystemBundle" />Filesystem Bundle
Sep 25, 2015
Sep 25, 2015
2
Nov 8, 2016
Nov 8, 2016
3
## <a name="containerFormat" />Container Format
Jun 25, 2015
Jun 25, 2015
4
Oct 7, 2015
Oct 7, 2015
5
This section defines a format for encoding a container as a *filesystem bundle* - a set of files organized in a certain way, and containing all the necessary data and metadata for any compliant runtime to perform all standard operations against it.
Mar 3, 2017
Mar 3, 2017
6
See also [MacOS application bundles][macos_bundle] for a similar use of the term *bundle*.
Jun 25, 2015
Jun 25, 2015
7
Aug 12, 2016
Aug 12, 2016
8
The definition of a bundle is only concerned with how a container, and its configuration data, are stored on a local filesystem so that it can be consumed by a compliant runtime.
Jun 25, 2015
Jun 25, 2015
9
Oct 7, 2015
Oct 7, 2015
10
A Standard Container bundle contains all the information needed to load and run a container.
Apr 22, 2016
Apr 22, 2016
11
This MUST include the following artifacts:
Jun 25, 2015
Jun 25, 2015
12
Nov 8, 2016
Nov 8, 2016
13
1. <a name="containerFormat01" />`config.json`: contains configuration data.
Apr 22, 2016
Apr 22, 2016
14
This REQUIRED file MUST reside in the root of the bundle directory and MUST be named `config.json`.
Oct 7, 2015
Oct 7, 2015
15
See [`config.json`](config.md) for more details.
Jun 25, 2015
Jun 25, 2015
16
Nov 8, 2016
Nov 8, 2016
17
2. <a name="containerFormat02" />A directory representing the root filesystem of the container.
Oct 7, 2015
Oct 7, 2015
18
While the name of this REQUIRED directory may be arbitrary, users should consider using a conventional name, such as `rootfs`.
19
This directory MUST be referenced from within the `config.json` file.
Jun 25, 2015
Jun 25, 2015
20
Jan 27, 2016
Jan 27, 2016
21
While these artifacts MUST all be present in a single directory on the local filesystem, that directory itself is not part of the bundle.
Oct 7, 2015
Oct 7, 2015
22
In other words, a tar archive of a *bundle* will have these artifacts at the root of the archive, not nested within a top-level directory.
Mar 3, 2017
Mar 3, 2017
23
24
[macos_bundle]: https://en.wikipedia.org/wiki/Bundle_%28macOS%29