selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

juicefs logo

Self-host juicefs

v1.4.2

Distributed POSIX file system on object storage plus Redis

ReleaseOpen CoreApache-2.0
Docker ComposeFull install guide
docker run --privileged --name myjfs juicedata/mount:ce-v1.1.2 juicefs mount rediss://user:[email protected]:6379/1 /mnt
Updated2 weeks ago
LanguageGo
Setup difficultyModerate
Stars
14 699
Port
9000 (Listen address of the built-in S3 Gateway (juicefs gateway), which also serves its browser management interface there.)
Requires
Metadata engine (database), Object storage for data blocks, WinFsp
Docker
juicedata/mount
File-manager view in the JuiceFS S3 Gateway management web interface

What is juicefs?

juicefs alternatives

Should you self-host juicefs?

juicefs scores 75/100 on selfhost.directory (how scoring works) and ranks #1 of 15 in File Storage. It has 14 699 GitHub stars, +205 in the last 30 days.

It shipped 11 stable releases in the past year. The latest, v1.4.2, came out on 22 October 2026.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is perkeep (61/100, 7 259 stars). juicefs scores higher overall. See juicefs vs perkeep side by side.

Features

  • Client-Side CachingDistributed cache across clients is an Enterprise-edition capability.
  • Data compression (LZ4 / Zstandard)
  • Data encryption at rest and in transit
  • Docker volume plugin
  • Extended attributes (xattr)
  • Global file locks
  • Hadoop / HDFS-compatible client
  • Kubernetes CSI driver
  • Mmap support
  • POSIX-compatible mount (FUSE)
  • S3-compatible gateway
  • Shared access by many clients
  • Strong Consistency
  • Trash and garbage collection
  • WebDAV Server

juicefs README

JuiceFS Logo

Latest Stable Release GitHub Workflow Status GitHub Workflow Status Go Report English doc Join Discord

JuiceFS is a high-performance POSIX file system released under Apache License 2.0, particularly designed for the cloud-native environment. The data, stored via JuiceFS, will be persisted in Object Storage (e.g. Amazon S3), and the corresponding metadata can be persisted in various compatible database engines such as Redis, MySQL, and TiKV based on the scenarios and requirements.

How to install juicefs

Install juicefs with Docker Compose

docker run --privileged --name myjfs \
    juicedata/mount:ce-v1.1.2 juicefs mount \
    rediss://user:[email protected]:6379/1 /mnt

The juicedata/mount image can also run `juicefs format`, the WebDAV server or the S3 gateway; FUSE needs --privileged (or SYS_ADMIN plus /dev/fuse). Replace the metadata URL with your own.

How to configure juicefs

  • --compressFormat option selecting the compression algorithm for stored data.

    values: LZ4, Zstandard, none (disabled by default)

  • --shardsFormat/mount option choosing the number of buckets (shards) associated with one file system.
  • --writebackMount option that writes data to the local cache first and uploads it to object storage asynchronously.
  • MINIO_ROOT_USERAccess key (admin/superuser) used to authenticate S3 API requests against the JuiceFS S3 Gateway; must be at least 3 characters.
  • MINIO_ROOT_PASSWORDSecret key paired with MINIO_ROOT_USER for S3 Gateway authentication; must be at least 8 characters.

juicefs releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Does JuiceFS support random read/write? How?

Yes, including mmap-based random access; random writes upload new blocks and mark old metadata stale, and disabling compression improves random-read performance.

How is the performance of JuiceFS?

Metadata costs one to two round trips (typically 1-3 ms) and first-byte latency follows the underlying object storage (roughly 20-100 ms); sequential throughput ranges widely and caching brings hot data close to local-disk speed.

Is it possible to bind multiple different object storages to a single file system?

No, but a single file system can be spread across several buckets of the same storage service using the --shards option.

Does JuiceFS support accessing data that already exists in object storage?

No, as of JuiceFS 1.0 accessing pre-existing object-storage data directly is not supported.

Does JuiceFS support using a directory in object storage as the value of the --bucket option?

As of JuiceFS 1.0 that is not supported; the bucket must be a bucket, not a directory inside one.

How Does JuiceFS Asynchronous Deletion Work?

Deleted files are either queued as pending-deletion blocks or moved into hourly trash directories, and background jobs later drop chunks and unreferenced slices from object storage.

Why do I delete files at the mount point, but there is no change or very little change in object storage footprint?

Because the trash (enabled by default) keeps deleted files, and because data removal from object storage happens asynchronously; the juicefs gc command forces cleanup.

Why doesn't JuiceFS support XXX object storage?

JuiceFS already supports a long list of object storages; anything compatible with S3 can simply be configured as S3, otherwise you can open an issue.

Does support Redis in Sentinel or Cluster-mode as the metadata engine for JuiceFS?

Yes, both Redis Sentinel and Redis Cluster are supported as metadata engines, with a Redis best-practices document for reference.

How can I combine multiple servers into a single JuiceFS file system for use?

No. JuiceFS uses underlying disks or SFTP as storage without managing their logical structure, so you would first build an object-storage cluster (e.g. MinIO or Ceph) and create a JuiceFS volume on top.

Where is the JuiceFS log?

Log location differs by client type; the "Fault Diagnosis and Analysis" document explains where each kind of client writes its logs.

How to upgrade JuiceFS client?

Unmount the volume first, then mount it again using a newer version of the client.

More in File Storage

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…