Unable to start docker
Closed this issue · 3 comments
olgabaranov commented
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 commented
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 commented
Yepp, works, thanks. Was just wondering if I could dockerise strut 1 following the same approach....
tantaman commented
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.