OpenList Docker Guide: Installation, Login, Storage and Backups

a year ago

OpenList provides a web interface for browsing connected storage. This guide starts with a local Docker installation so you can check the service before connecting a cloud account.

Scope and evidence

Reviewed on 2026-10-21 against the official Docker instructions, local storage documentation, and v4.2.7 release. The command targets Linux with Docker and a regular non-root user. A local smoke test used Docker's Linux/ARM64 runtime with a macOS host bind mount: the page returned HTTP 200, administrator initialization and login succeeded, a second initialization was rejected, and login still worked after restart. These checks do not establish production readiness or minimum hardware requirements. Cloud-provider authorization, internet-facing deployment, and performance are outside this guide's verification scope.

Install OpenList with persistent storage

Use a new directory dedicated to this service. The data directory holds application state; it is separate from files you later connect. Check that Docker works with docker version. Run these commands from the directory you want to use for the installation:

mkdir openlist-guide
cd openlist-guide
mkdir data
docker run -d --name openlist-guide \
  --user "$(id -u):$(id -g)" \
  --restart unless-stopped \
  -v "$PWD/data:/opt/openlist/data" \
  -p 127.0.0.1:5244:5244 \
  -e UMASK=022 \
  openlistteam/openlist:v4.2.7

This adapts the upstream command by pinning the version and binding the port to localhost. If the name or port is already in use, choose a different one rather than stopping an unrelated service. OpenList versions after 4.1.0 changed container user handling; the command above matches file ownership to your current Linux user.

First login and access

Open http://127.0.0.1:5244 on the Docker host. For a remote Linux server, use an SSH tunnel from your computer:

ssh -L 5244:127.0.0.1:5244 YOUR_USER@YOUR_SERVER

In the tested v4.2.7 fresh installation, no administrator existed yet. Complete the initial setup screen to choose your username and a strong password. Keep access local until setup is finished. The version's setup handler confirms this behavior, which differs from older instructions describing a password printed in logs.

For troubleshooting, inspect local logs:

docker logs openlist-guide

Logs can contain credentials. Do not paste them into support tickets or public screenshots. After an administrator exists, the official CLI can reset its password. This command cannot initialize a missing administrator:

docker exec -it openlist-guide ./openlist admin random

Connect storage deliberately

For local storage, OpenList needs a container-visible folder. A host path does not automatically exist inside the container: configure a separate bind mount, then use that container path in the Local storage driver's root-folder field. Start with disposable files and a read-only mount if you only need browsing.

For a cloud account, select its driver and follow that driver's current official authorization instructions. Provider permissions, supported operations, and token lifetimes vary. This guide does not verify any cloud-provider integration. Avoid copying credentials into third-party token tools unless you have verified their operator and permissions.

Backups and updates

Stop writes before taking a consistent backup of the data directory. Keep a separate copy and test restoration on a disposable instance. Backing up OpenList's configuration does not back up the files stored with your cloud providers.

Before changing the image tag, read the target release notes and back up the existing data. Verify login and a sample storage connection after upgrading. Keep the old configuration and version record until the new installation is working. Do not expose the service publicly until authentication, HTTPS, and access restrictions have been configured for your environment.

FAQ

Why is the web page unreachable?

Check docker ps, the chosen host port, and the local logs. This example intentionally listens only on the host's loopback address. Use the SSH tunnel when connecting from another machine.

Does OpenList copy all my cloud files onto this server?

Connecting storage is not a backup plan. Check the chosen driver's behavior and make a separate plan for preserving files that matter.

Is this a universal NAS or app-store tutorial?

No. The example uses upstream Docker on Linux. NAS packages and appliance installations may use different accounts, paths, versions, and permission rules.

When to use this setup

Use this OpenList setup to evaluate a browser-based storage interface on a host you control. If you need a managed backup service, automatic cross-provider recovery, or verified cloud-provider compatibility, assess those requirements separately before depending on it.

Author
天天