b911020c1f
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
18 lines
700 B
Markdown
18 lines
700 B
Markdown
---
|
|
description: Explains how to use the in-memory storage drivers
|
|
keywords: registry, service, driver, images, storage, in-memory
|
|
title: In-memory storage driver (testing only)
|
|
---
|
|
|
|
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) on a ramdisk.
|
|
|
|
{{< 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 >}}
|
|
|
|
## Parameters
|
|
|
|
None
|