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 Models 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):Options
| Flag | Type | Description |
|---|---|---|
--port, -p | STR | The host port to bind W&B server on. Default: 8080 |
--env, -e | STR | Environment variables to pass to wandb/local Docker image. Default: [] |
--daemon | BOOL Flag | Run the server in the background. Use —no-daemon to run in the foreground. Default: True |