github.com/blixtra/rkt@v0.8.1-0.20160204105720-ab0d1add1a43/Documentation/devel/on-disk-format.md (about)

     1  On disk format
     2  ==============
     3  
     4  The data directory is `/var/lib/rkt`, unless configured otherwise.
     5  For details, see [the `paths` kind in configuration documentation](../configuration.md#rktkind-paths).
     6  The `--dir` command line option can be used to change this location.
     7  
     8  #### CAS database
     9  
    10  The CAS database is stored in `/var/lib/rkt/cas/db`.
    11  The database schema can be migrated to newer versions ([#706](https://github.com/coreos/rkt/issues/706)).
    12  
    13  #### CAS
    14  
    15  The CAS also uses other directories in `/var/lib/rkt/cas/`.
    16  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.
    17  Future version of rkt will retain compatibility with older CAS versions.
    18  
    19  #### Pods
    20  
    21  The pods are stored in `/var/lib/rkt/pods/` as explained in [Life-cycle of a pod](pod-lifecycle.md)
    22  
    23  The stability of prepared and exited pods is desirable, but not as critical as the CAS.
    24  
    25  #### Configuration
    26  
    27  The [configuration](../configuration.md) on-disk format is documented separately.