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