-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix part of rkt#1132
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
On disk format | ||
============== | ||
|
||
The data directory is normally `/var/lib/rkt` but rkt can be requested to use | ||
another directory via the `--dir` command line argument. | ||
|
||
#### CAS database | ||
|
||
The CAS database is stored in `/var/lib/rkt/cas/db`. The database schema can be | ||
migrated to newer versions (#706). | ||
|
||
#### CAS | ||
|
||
The CAS also uses other directories in `/var/lib/rkt/cas/`. To ensure stability | ||
for the CAS, we need to make sure we don't remove any of those directories or | ||
make any destructive changes to them. In future versions of rkt, we will make | ||
sure to be able to read old versions of the CAS. | ||
|
||
#### Pods | ||
|
||
The pods are stored in `/var/lib/rkt/pods/` as explained in | ||
[Life-cycle of a pod](https://github.com/coreos/rkt/blob/master/Documentation/devel/pod-lifecycle.md) | ||
|
||
Stability of prepared and exited containers is desirable but not as critical as | ||
the CAS. | ||
|
||
#### Configuration | ||
|
||
The [configuration](https://github.com/coreos/rkt/blob/master/Documentation/configuration.md) | ||
on-disk format is documented separately. | ||
|