LiteFS example not working locally (fuse device not found)

I’m getting an error when running the LiteFS example from Getting Started with LiteFS · Fly Docs locally. I was able to deploy successfully, but want to also test things out for local development.


git clone && cd litefs-example
docker build -t litefs .
docker run -it litefs


config file read from /etc/litefs.yml
mount helper error: fusermount: fuse device not found, try 'modprobe fuse' first
cannot init file system: cannot open file system: fusermount: exit status 1
cannot acquire lease or find primary, retrying: fetch primary url: Get "": dial tcp connect: connection refused

Note: M1 Mac

LiteFS currently only works on Linux because of the FUSE requirement. Macs have macFUSE but it’s not well supported. We will be releasing LiteFS as a SQLite VFS in the future which means it’ll work on macOS (and likely Windows too).

OK, thanks, looking forward to trying this out then!

Docker container it’s running in is ubuntu (linux/amd64) though, so it’s still not possible to run FUSE in this environment?