ZettaSend Docs

Run ZettaSend with Docker

Keep ZettaSend running on your Linux server and control the app from a web browser. Transfers use the server's files and network connection. Closing your browser leaves the app and your hosted Hub projects running.

Before you start

We recommend running Docker directly on a Linux host. This setup uses Linux host networking and Linux file permissions. Both x64 and ARM64 hosts are supported; Docker selects the matching prebuilt image automatically. A desktop environment or monitor on the server is not required.

Install Docker Engine and the Docker Compose plugin on that host. Check these commands before continuing:

docker version
docker compose version

Choose a Linux account that can read the files you want to share and write to the folders where you want to receive files. This is the desktop app in a browser, with the same ZettaSend account and plan requirements as a normal installation. See how Hub projects work if you want to keep a shared project available on your server.

Download the Compose file

Create a dedicated folder on the Linux host:

mkdir -p ~/zettasend-docker
cd ~/zettasend-docker

Save compose.yaml below into that folder. You can download it or copy its contents into a plain-text editor. If your browser is on another computer, transfer the file to this folder on the Linux host before continuing. This setup uses the prebuilt ghcr.io/zemendaniel/zettasend:latest image. No Dockerfile, local build, or .env file is needed.

compose.yaml

Download
View contents
services:
  zettasend:
    image: ghcr.io/zemendaniel/zettasend:latest
    container_name: zettasend
    restart: unless-stopped
    network_mode: host
    environment:
      # Edit settings here. No .env file is needed.
      # Match a Linux host user/group with access to your files (id -u / id -g).
      # Set APP_UID/APP_GID to "0" to run as root/the root group.
      APP_UID: "1000"
      APP_GID: "1000"
      # Required: fill in both passwords. Keep the keyring password across upgrades.
      # Avoid these characters in passwords to prevent YAML/Compose parsing issues: $ # : " ' \ { } [ ] & * ! and spaces.
      # Browser password: minimum 6 ASCII characters (the enforced minimum is 6 bytes).
      VNC_PASSWORD: ""
      # Keyring password: no enforced minimum; 6+ characters recommended for new volumes.
      KEYRING_PASSWORD: ""
      # Optional mounted secret files take precedence over inline passwords.
      VNC_PASSWORD_FILE: ""
      KEYRING_PASSWORD_FILE: ""
      WEB_USERNAME: "zettasend"
      WEB_BIND: "0.0.0.0"
      WEB_PORT: "8080"
      WEB_TLS: "on"
      # Optional mounted PEM files; empty values generate a persistent certificate.
      WEB_CERT_FILE: ""
      WEB_KEY_FILE: ""
      SCREEN_SIZE: "1920x1080x24"
      MAX_RESOLUTION: "3840x2160"
      DISPLAY_SCALE: "1"
      DISPLAY_FPS: "60"
      # Uses CPU rendering unless a compatible GPU is mapped below.
      RENDER_MODE: "auto"
      # Optional GPU device override; the image already defaults to this path.
      # DRI_NODE: "/dev/dri/renderD128"
    # Optional GPU acceleration: compatible Intel/AMD GPUs on Linux (not NVIDIA).
    # Check the host device and its numeric group: stat -c '%g' /dev/dri/renderD128
    # Uncomment devices/group_add and replace "109" with that group ID.
    # For a different render node, update both paths and uncomment/set DRI_NODE above.
    # devices:
    #   - /dev/dri/renderD128:/dev/dri/renderD128
    # group_add:
    #   - "109"
    volumes:
      - type: volume
        source: zettasend-data
        target: /data
      - type: bind
        source: /
        target: /my-stuff

volumes:
  zettasend-data:
    name: zettasend-data

Configure and start

  1. On the Linux host, find the numeric IDs of the account that should access your files. Run id -u and id -g as that account. If you are logged in as root, use id -u alice and id -g alice, replacing alice with the intended user.
  2. Edit the environment section in compose.yaml. Set APP_UID and APP_GID to those IDs. 1000 is only a default. Zero is supported for either ID; setting both to zero runs as root and grants root-level host-file access on a typical rootful Linux Docker host.
  3. Set VNC_PASSWORD to a strong browser-login password. Use at least 6 ASCII characters (the enforced KasmVNC minimum is 6 bytes); longer passwords are recommended. Follow the Compose comments about characters to avoid when entering inline passwords, or mount secret files and set VNC_PASSWORD_FILE and KEYRING_PASSWORD_FILE. Secret files take precedence over inline values and must contain a single UTF-8 line with LF line endings.
  4. Set KEYRING_PASSWORD to a strong password and keep it for future restarts and upgrades. It unlocks the app's saved credentials. There is no enforced minimum character count; 6 or more characters are recommended for a new data volume. It can be the same as the browser password. When reusing an existing data volume, keep its original keyring password.
nano compose.yaml
docker compose config --quiet
docker compose up -d
docker compose ps

Run these commands from the folder containing compose.yaml. Docker downloads the prebuilt image. On first start with an empty data volume, the container downloads the latest AppImage for its architecture from updates.zettasend.com, verifies its size and SHA-256 checksum, and starts the app. Internet access is required for this first installation. Open the browser session to see download, verification, and startup progress; the same milestones appear in the container logs.

Open the app

Open https://HOST:8080 in your browser, replacing HOST with the Linux server's address. On the same computer, use https://localhost:8080. Sign in to the browser session with username zettasend and your VNC_PASSWORD. Then sign in to your ZettaSend account inside the app.

The container creates a self-signed HTTPS certificate on first start, so your browser may show a certificate notice. For trusted HTTPS, supply certificate and key files using WEB_CERT_FILE and WEB_KEY_FILE, or use an HTTPS reverse proxy. The proxy must forward WebSocket connections; set WEB_TLS: "off" in Compose when the proxy terminates HTTPS. Keep browser-facing HTTPS for automatic clipboard access. The default is WEB_TLS: "on"; the generated certificate persists in the data volume. Mount certificate and key files into the container before setting their container paths.

The supplied Compose file uses host networking, so the browser session listens on the host's port 8080 without a port mapping. Permit access from your browser through the host firewall. One browser controls the session at a time. Disconnecting leaves the app running; reconnect at the same address.

Host files and permissions

Your host files are under /my-stuff. The supplied Compose file mounts the Linux host's entire filesystem there. These are the server's files, not the files on the computer running your browser. For the configured UID, the container selects the host account's existing writable Downloads folder, then its writable home directory. For example, the file picker can start in /my-stuff/home/alice/Downloads. If neither is available, it falls back to /my-stuff; select a writable subfolder before receiving files. Host folders are not created automatically, and previously chosen destinations are preserved.

On the Linux hostInside ZettaSend
/home/alice/Downloads/my-stuff/home/alice/Downloads
/srv/shared/my-stuff/srv/shared
/mnt/storage/my-stuff/mnt/storage

Choose the account that can access those files

The app runs using the numeric APP_UID and APP_GID you configured. Linux compares those numbers with the host files' owner and group; the account's name inside the container does not grant access. For example, if the intended host user has UID 1001 and GID 1001, use those values in compose.yaml.

  • To send a file, the app account needs permission to read it and to traverse every parent directory.
  • To browse a folder, it needs read and execute permissions on that folder, plus execute permission on its parent directories.
  • To receive files, choose a host folder where that account has write and execute permissions. Existing files also need suitable permissions when overwritten. The root of /my-stuff usually is not writable; choose an accessible subfolder.
  • Host folders shared through another group may need that group's numeric ID added to the Compose service's group_add list. It is retained by the app account.

For example, select /my-stuff/srv/shared/Incoming to receive into /srv/shared/Incoming on the host. Writes through this mount change the real host files. The container does not change ownership or permissions under /my-stuff. Its startup ownership repair applies only to its private /data volume.

If a folder is inaccessible, inspect its numeric owner and group on the Linux host:

id alice
ls -ldn /srv /srv/shared /srv/shared/Incoming

Replace the example user and paths with yours. Match the IDs in compose.yaml to the intended user, and give that user or its group the required access on the host. If Unix permissions look correct, also check host security policies, rootless Docker restrictions, or permissions on a mounted network drive. After changing IDs or groups, run docker compose up -d to recreate the service with the new settings.

Manage and update

# View status and logs
docker compose ps
docker compose logs -f zettasend

# Stop, then start again with the saved data
docker compose down
docker compose up -d

# Download and apply a new container image
docker compose pull
docker compose up -d

The named zettasend-data volume stores the app, database, saved credentials, certificates, and updater cache under /data. Keep this volume and the original KEYRING_PASSWORD when restarting or upgrading. docker compose down preserves it; docker compose down -v deletes the saved app data.

Install app updates through ZettaSend's normal update flow. Later starts and container replacements keep the AppImage already installed in the data volume. Container updates deliver browser, system-library, and startup changes; they do not replace the saved app. The viewer shows a notice when a newer stable container release is available, but does not install it automatically. Use the pull and up commands above to apply it. The latest tag follows container releases; replace it with a specific published container version if you want to control upgrades. You do not need to delete your data to update the app.

When migrating from an older Docker setup, stop and remove its container first. The current Compose file reuses the named zettasend-data volume; keep its original keyring password. If your old browser password was shorter than six bytes, choose a longer browser password while retaining the original keyring password.

Clipboard and display

Use Chrome or Edge for automatic text clipboard sharing and grant clipboard permission when asked. Automatic sharing needs trusted HTTPS or localhost. With Firefox, use the Clipboard control in the viewer's session menu. For this standalone setup, use Chrome, Edge, or Firefox rather than Safari, which needs an additional authentication proxy.

The small menu at the top of the viewer contains Fullscreen, Clipboard, and Reconnect. The display resizes with your browser. For higher pixel density on a high-DPI display, change DISPLAY_SCALE to "2" in Compose and run docker compose up -d. This scales both Avalonia and the viewer, rendering four times as many pixels at the same browser size.

SettingDefault and purpose
SCREEN_SIZE1920x1080x24: initial desktop width, height, and color depth before the browser connects.
MAX_RESOLUTION3840x2160: maximum rendering resolution. Supported limits range from 820x520 to 7680x4320 and must fit the minimum 820x520 layout at the chosen scale.
DISPLAY_SCALE1: normal pixel density. Accepted values: 1, 1.25, 1.5, 1.75, 2, 2.5, 3, and 4.
DISPLAY_FPS60: maximum screen update rate, from 1 to 120. Actual performance depends on the host and connection.
RENDER_MODEauto: enables GPU rendering when the mapped render device is accessible, otherwise uses CPU rendering. software forces CPU rendering; gpu requires an accessible device or startup fails.
DRI_NODE/dev/dri/renderD128: optional GPU device override. Commented out in Compose because the image already supplies this default. Selecting a path does not expose a GPU to the container.

Optional GPU rendering

The supplied Compose file works with CPU rendering and needs no GPU. Optional acceleration uses compatible Intel or AMD GPUs with open-source DRI3 drivers on the Linux Docker host. NVIDIA acceleration is not configured by this image. The GPU in the computer running your browser does not enable GPU rendering on the server. If Docker runs inside a VM, the GPU must first be made available to that VM.

For a compatible Intel or AMD GPU, find its render device and numeric group on the Docker host:

ls -l /dev/dri/
stat -c '%g' /dev/dri/renderD128

Uncomment the devices and group_add block in compose.yaml. Replace the example group 109 with the number returned by stat. These keys belong directly under the service, alongside environment and volumes. Keep RENDER_MODE: "auto". The default node needs no environment override. For another render node, such as renderD129, change both paths in the device mapping, uncomment DRI_NODE under environment and set it to match, and check that device's group instead. Apply the changes with docker compose up -d. With the GPU block enabled, Docker requires that host device to exist; leave the block commented on servers without one. Use RENDER_MODE: "software" to force CPU rendering if a mapped GPU has driver problems.

Troubleshooting

ProblemWhat to check
Compose asks for a password or cannot find its configurationRun from the folder containing compose.yaml. Fill in both passwords under its environment section. No Dockerfile or separate environment file is needed. Use docker compose config --quiet to validate without printing passwords.
Docker socket permission deniedCheck that Docker Engine is running and that your host account is allowed to use it. Follow Docker's Linux post-installation instructions. Docker access and the app's APP_UID/APP_GID settings are separate permissions.
The browser cannot connectUse https:// and the Linux host's address on port 8080. Check docker compose ps, the logs, firewall access, and whether another service uses port 8080. Behind a proxy, check WebSocket forwarding and the TLS settings.
KasmVNC reports that a server is already running or an address is in useAnother VNC or virtual desktop service may be using the same display or ports. Host networking shares them with the Linux host. Stop the conflicting service or run ZettaSend on a separate Linux host, then check the container logs again.
Browser login keeps failingUse username zettasend with VNC_PASSWORD, rather than your ZettaSend account login. After editing compose.yaml, apply it with docker compose up -d. Repeated failures can temporarily block your address; correct the credentials and wait before retrying.
A host folder is missing, unreadable, or cannot receive filesLook under /my-stuff, then check the numeric IDs, parent directory access, and destination write permissions described in Host files and permissions. Check access as the configured app account.
Startup reports an invalid ID or an account conflictBoth IDs must be numeric values from 0 through 2147483647. Zero is supported; choose IDs matching the intended host account. If the log says its UID is already assigned to another container account, choose a host account with a suitable unused UID and grant that account access to the intended folders.
The saved keyring cannot be unlockedRestore the original KEYRING_PASSWORD for this data volume, then run docker compose up -d. Changing the browser password does not change the existing keyring password. Keep the volume rather than deleting your saved app data.
Copy and paste does not workUse trusted HTTPS or localhost, allow clipboard access in Chrome or Edge, or use the viewer's Clipboard panel. The clipboard shares text; browse host files under /my-stuff to transfer files.
First startup shows an AppImage download errorCheck internet access to updates.zettasend.com and the exact error in the browser or container logs. HTTP 401/403 means access was denied; HTTP 404 means a bootstrap manifest or AppImage is missing. Correct the problem, then run docker compose restart zettasend. Keep the data volume.
GPU device is missing or inaccessibleCheck the render node, device mapping, and numeric group_add value in Optional GPU rendering. On a server without a compatible GPU, leave the device/group block commented and keep RENDER_MODE: "auto" for CPU rendering.
An app link does not open a browserOpen the URL shown by the app on your own computer. Container mode displays links for you to open locally; it does not launch a browser on the server.
Replacing the container did not update the appAn existing data volume keeps its AppImage. Use the app's update flow, as explained in Manage and update.

Start with docker compose logs --tail=100 zettasend when diagnosing a startup problem. App log files are also in /data/ZettaSend/logs inside the container. If you still need help, contact support with the relevant error, keeping passwords and other private information out of your message.