Usage
Description
Start a local W&B Server instance in a Docker container.
Pull and run the wandb/local Docker image. Map the specified host
port to port 8080 in the container and mount a persistent Docker
volume named “wandb” to store data.
Configure the “base_url” setting to point to the local server so
that subsequent W&B client calls use it. Prompt for login if no
API key is found.
Requires Docker to be installed and running on the host machine.
This command starts only the W&B UI. It is provided only
for local testing. In production, the W&B Kubernetes Operator is the recommended
way to deploy W&B Server. See
https://docs.wandb.ai/platform/hosting/self-managed/operator.
For example, to start a local W&B server on the default port (8080):
To start the server on port 9090:
To start the server in the foreground:
Options
Last modified on September 29, 2026