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 start docker #427

Closed
olgabaranov opened this issue Sep 27, 2023 · 3 comments
Closed

Unable to start docker #427

olgabaranov opened this issue Sep 27, 2023 · 3 comments

Comments

@olgabaranov
Copy link

After successfully building the docker container I get the following error on trying to start it:

$ sudo docker run 35019f32ce79

config file read from /etc/litefs.yml
LiteFS v0.4.0, commit=6421a2236f96b1d7bd88d18a1cc46aa1fd5c2ae7
no proxy target set, skipping proxy
Using Consul to determine primary
initializing consul: key=/primary url= hostname=d83775d08596 advertise-url=http://.vm..internal:20202
5502BAD3163B4FB5: cannot acquire lease or find primary, retrying: fetch primary url: Get "http://127.0.0.1:8500/v1/kv/primary": dial tcp 127.0.0.1:8500: connect: connection refused
mount helper error: fusermount3: fuse device not found, try 'modprobe fuse' first
ERROR: cannot init file system: cannot open file system: fusermount: exit status 1

any tips on how to fix it?

@tantaman
Copy link
Owner

tantaman commented Oct 2, 2023

The dockerfile assumes you're deploying to fly.io.

I'd just run the project via:

pnpm install
pnpm build
pnpm dev

rather than the dockerfile.

@olgabaranov
Copy link
Author

olgabaranov commented Oct 5, 2023

Yepp, works, thanks. Was just wondering if I could dockerise strut 1 following the same approach....

@tantaman
Copy link
Owner

tantaman commented Oct 5, 2023

Was just wondering if I could dockerise strut 1 following the same approach....

Ah, the old one from 2013?

The main issue with the dockerfile is the dependency on litefs -- removing that should fix it.

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