Blixt

Docker installation

The Docker image is the most versatile way to run the Blixt server. It works on any platform with Docker installed and exposes NFS and SMB by default.

Before you install

Configure at least one bucket and make sure your credentials are working. See the documentation from your cloud provider for details. Here's our quick starter guide.

If mounting with NFS or SMB, make sure the client software is installed:

  • macOS — NFS and SMB are installed by default.
  • Linux — install NFS tools (nfs-common) or SMB tools (cifs-utils).
  • Windows — SMB is available by default. For NFS, enable the NFS client in Windows Features.

Install Docker and download image

  1. Install Docker.
  2. Pull the latest image from Docker Hub. Our images support both Intel and ARM architectures.
    docker pull blixtfs/standard:latest

Configure your setup

Fill in the fields below and the commands will update automatically.

Cloudflare R2 credentials (optional)

R2 has no credentials file, so these are passed to the container as environment variables. Anything you leave empty is left off the command. Nothing here leaves your browser — the command is assembled on this page.

Run the container — command line

Everything on one command. Good for a first run and for throwaway containers.

docker run -d --name blixt \
  -p 2049:2049 \
  -v /tmp/data:/data \
  blixtfs/standard:latest s3://my-bucket

Run the container — YAML configuration

A deployment you intend to keep is easier to manage as a file. Save the following as config.yaml in your data directory, where the container reads it as /data/config.yaml:

The command then carries the mounts and nothing else:

Settings are read from the file first, then the environment, then the command line, so each layer overrides the one before it. That is the escape hatch for secrets: leave the R2 keys out of the file and pass them as -e CLOUDFLARE_ACCESS_KEY=... on the command instead. A file that does hold them is worth a chmod 600 and a place outside version control.

Mount the share

Mount the share from any client using NFS.

macOS — use the noresvport option for user-initiated mounts:

mount -t nfs -o vers=4,noresvport localhost:/ MOUNT_POINT

Linux:

mount -t nfs -o vers=4 localhost:/ MOUNT_POINT