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.Usage
Options
| Flag | Type | Description |
|---|---|---|
-p, --port | STRING | The host port to bind W&B server on. Default: 8080 |
-e, --env | STRING | Environment variables to pass to wandb/local Docker image. Default: [] |
--daemon | BOOL | Run the server in the background. Use —no-daemon to run in the foreground. Default: True |
--upgrade | BOOL | Pull the latest wandb/local Docker image before starting. Stop any existing container. Default: False |
--edge | BOOL | Use the bleeding edge Default: False |
--help | BOOL | Show this message and exit. Default: False |