Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run from quickstart docs #78

Closed
mcascone opened this issue Apr 26, 2022 · 1 comment
Closed

unable to run from quickstart docs #78

mcascone opened this issue Apr 26, 2022 · 1 comment

Comments

@mcascone
Copy link

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.

@imclint21
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants