lucid icon indicating copy to clipboard operation
lucid copied to clipboard

unable to run from quickstart docs

Open mcascone opened this issue 2 years ago • 1 comments

HI, I've created the lucid.yml in a working dir, copied from https://raw.githubusercontent.com/lucid-kv/lucid/master/.github/lucid.yml and am running the commands from the doc:

$ docker pull lucidkv/lucid
$ docker run -p 7020:7020 -v lucid.yml:/etc/lucid/lucid.yml lucidkv/lucid

The image pulls fine, but on run it fails:

~\lucid> docker pull lucidkv/lucid
Using default tag: latest
latest: Pulling from lucidkv/lucid
Digest: sha256:e01de90076070ced15ec03cdc0b30451be4b00b3edb40b190496386ca6545351
Status: Image is up to date for lucidkv/lucid:latest
docker.io/lucidkv/lucid:latest
~\lucid> docker run -p 7020:7020 -v ./lucid.yml:/etc/lucid/lucid.yml lucidkv/lucid
Error: Unable to read the Lucid configuration file: Is a directory (os error 21)

What needs to happen? I'm on Windows, docker enabled for linux containers.

mcascone avatar Apr 26 '22 18:04 mcascone

Hello,

Sorry for the late reply, first of all you have to create a configuration file (you can use this one: https://gist.github.com/thisisclint21/7df59a77ca9c17c0c72beb6600674e76)

And then, try to run it like this:

docker run -p 7020:7020 -v /tmp/lucid.yml:/etc/lucid/lucid.yml lucidkv/lucid

The configuration file should be located in /tmp in this example.

imclint21 avatar Jul 29 '22 22:07 imclint21