2015-06-08 00:58:53 +00:00
<!-- [metadata]>
+++
title = "In-memory storage driver"
description = "Explains how to use the in-memory storage drivers"
keywords = ["registry, service, driver, images, storage, in-memory"]
+++
<![end-metadata]-->
2015-04-29 19:20:09 +00:00
2016-01-13 01:34:02 +00:00
# In-memory storage driver (Testing Only)
2014-12-29 21:59:40 +00:00
2016-01-13 01:34:02 +00:00
For purely tests purposes, you can use the `inmemory` storage driver. This
driver is an implementation of the `storagedriver.StorageDriver` interface which
uses local memory for object storage. If you would like to run a registry from
volatile memory, use the [`filesystem` driver ](filesystem.md ) on a ramdisk.
2014-12-29 21:59:40 +00:00
2016-01-13 01:34:02 +00:00
**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.
2014-12-29 21:59:40 +00:00
## Parameters
None