github.com/npaton/distribution@v2.3.1-rc.0+incompatible/docs/storage-drivers/inmemory.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "In-memory storage driver"
     4  description = "Explains how to use the in-memory storage drivers"
     5  keywords = ["registry, service, driver, images, storage,  in-memory"]
     6  +++
     7  <![end-metadata]-->
     8  
     9  
    10  # In-memory storage driver (Testing Only)
    11  
    12  For purely tests purposes, you can use the `inmemory` storage driver. This
    13  driver is an implementation of the `storagedriver.StorageDriver` interface which
    14  uses local memory for object storage. If you would like to run a registry from
    15  volatile memory, use the [`filesystem` driver](filesystem.md) on a ramdisk.
    16  
    17  **IMPORTANT**: This storage driver *does not* persist data across runs. This is why it is only suitable for testing. *Never* use this driver in production.
    18  
    19  ## Parameters
    20  
    21  None