Docker ERROR: Volume specifies nonexistent driver inmemory
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.
Error while running Jenkins in Docker How to use hostname passed as an argument in Dockerfile? postgres table does not exist from using docker-compose How do I find out why my Docker service is in Pending state? cannot open RPM, skipping in Dockerfile non-privileged execution FROM scratch
But when trying to use it like so:
volumes: ui-tmp-memory: driver: inmemory
It gives me this output:
Creating volume "myapp_ui-tmp-memory" with inmemory driver ERROR: Volume ui-tmp-memory specifies nonexistent driver inmemory
Am I missing something or do I need to install “inmemory” driver somehow?
One Solution collect form web for “Docker ERROR: Volume specifies nonexistent driver inmemory”
The link you’ve provided points to storage drivers for Docker Registry. You seem to want to mount a volume in a container which would require a Docker Engine Volume Plugin. These are two distinct types of plugins for two different applications and aren’t interchangeable.
You may be able to easily accomplish what you want by creating a RAM disk and using the Local Persist Plugin in Docker Engine.