Skip to main content
Start a local W&B server in a Docker container. Pull and run the wandb/local Docker image (local instance of the W&B server). Map the specified port on the host to port 8080 in the container and mount a persistent Docker volume named wandb to store data. If a newer image is available, notify the user to upgrade to the latest version (wandb server start --upgrade). If a container named wandb-local is already running, notify the user to stop it before starting a new one. Set the base_url setting to the local server URL so that W&B client calls use the local server. If no API key is found, prompt the user to log in. Requires Docker to be installed and running on the host machine.

Examples

Launch a local W&B server on port 8080 in the background.
wandb server start
Run the server on port 9090 instead of the default 8080.
wandb server start -p 9090
Run the server in the foreground so logs stream directly to the terminal
wandb server start --no-daemon

Usage

wandb server start [OPTIONS]

Options

FlagTypeDescription
-p, --portSTRINGThe host port to bind W&B server on. Default: 8080
-e, --envSTRINGEnvironment variables to pass to wandb/local Docker image. Default: []
--daemonBOOLRun the server in the background. Use —no-daemon to run in the foreground. Default: True
--upgradeBOOLPull the latest wandb/local Docker image before starting. Stop any existing container. Default: False
--edgeBOOLUse the bleeding edge Default: False
--helpBOOLShow this message and exit. Default: False