MycoKV is a fast, hierarchical, in-memory key-value database built in Rust.
1.0K
To quickly start up a MycoKV server, run the following command:
docker run -d -p 6922:6922 wvaviator/mycokv
This command will start the server in detached mode. If you would instead like to access the REPL and run commands against the database, you can run the following command (replacing -d with -it):
docker run -it -p 6922:6922 wvaviator/mycokv
If you would like to persist data between server start/stop, you can mount a volume to the container:
docker run -d -p 6922:6922 -v mycokv-data:/root/.local/share/mycokv wvaviator/mycokv
In a more complex configuration where you might have several containers running, you might instead want to use Docker Compose to manage your containers. An example docker-compose.yml file might look like this:
version: '3.9'
services:
myco-kv:
image: wvaviator/mycokv
ports:
- '1234:6922' # Custom port mapping
volumes:
- mycokv-data:/root/.local/share/mycokv
volumes:
mycokv-data:
Content type
Image
Digest
sha256:7d3db7e8c…
Size
48.7 MB
Last updated
almost 3 years ago
docker pull wvaviator/mycokv