This reverts commit 13ddc1350ea1edafcb03d4db901823604a5d1ec1, reversing changes made to 7a11f05943cc62d040dcfedc7621fdeafd11c718.
22 lines
748 B
Markdown
22 lines
748 B
Markdown
---
|
|
description: Explains how to use the in-memory storage drivers
|
|
keywords:
|
|
- registry, service, driver, images, storage, in-memory
|
|
menu:
|
|
main:
|
|
parent: smn_storagedrivers
|
|
title: In-memory storage driver
|
|
---
|
|
|
|
# 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.md) on a ramdisk.
|
|
|
|
**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.
|
|
|
|
## Parameters
|
|
|
|
None
|