Docker Container
Holesail provides an official Docker image that allows you to run servers, clients, and the built-in file manager without installing Node.js or managing binaries manually.
Docker is the recommended installation method for:
Headless servers (VPS, NAS, homelab)
Production deployments
Isolated or reproducible environments
Easy upgrades and rollbacks
Requirements:
Docker
A system that supports host networking (Linux recommended)
Pull the docker image:
docker pull holesail/holesail:latestServer Mode
Runs a Holesail server that exposes a local service.
docker run -d --name holesail \
-e MODE=server \
-e PORT=25565 \
-e HOST=127.0.0.1 \
-e KEY=very-super-secret \
-e PUBLIC=false \
--network host \
holesail:latestClient Mode
Connects to a remote Holesail server using its key.
File Manager Mode
Runs the Holesail file manager, allowing secure file access over P2P.
Environment Variable Configuration
Holesail’s Docker image uses environment variables exclusively for configuration.
The behavior is determined primarily by the MODE variable.
MODE
server, client, or filemanager
PORT
Local port to bind
HOST
Bind address (default: 127.0.0.1)
KEY
Connection key
PUBLIC
Allow public access (true / false)
FORCE
Allow to use a short KEY
LOG
Enable logging
File Manager Mode
DIR
Directory to share
USERNAME
Login username
PASSWORD
Login password
ROLE
User role (e.g. admin)
You can also define the flags above using a .env file if you choose to Docker compose instead of our existing image.
Last updated
Was this helpful?