In-memory storage driver (testing only)

Estimated reading time: 1 minute

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 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

chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support