Skip to main content
GitHub source

Usage

Usage: start [OPTIONS]

Description

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

Arguments

NameDefaultType

Options

FlagTypeDescription
--port, -pSTRThe host port to bind W&B server on. Default: 8080
--env, -eSTREnvironment variables to pass to wandb/local Docker image. Default: []
--daemonBOOL FlagRun the server in the background. Use —no-daemon to run in the foreground. Default: True