2016-09-29 19:21:06 +00:00
|
|
|
---
|
|
|
|
description: Explains how to use the in-memory storage drivers
|
2016-11-10 19:54:25 +00:00
|
|
|
keywords: registry, service, driver, images, storage, in-memory
|
2016-11-04 22:38:40 +00:00
|
|
|
title: In-memory storage driver (testing only)
|
2016-09-29 19:21:06 +00:00
|
|
|
---
|
2016-09-28 21:46:28 +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
|
2023-10-12 07:32:37 +00:00
|
|
|
volatile memory, use the [`filesystem` driver](../filesystem) on a ramdisk.
|
2016-09-28 21:46:28 +00:00
|
|
|
|
2023-10-12 07:32:37 +00:00
|
|
|
{{< hint type=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.
|
|
|
|
{{< /hint >}}
|
2016-09-28 21:46:28 +00:00
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2020-02-27 10:34:24 +00:00
|
|
|
None
|