Skip to content

dstack server

This command starts the dstack server.

Usage

$ dstack server --help
Usage: dstack server [-h] [--host HOST] [-p PORT] [-l LOG_LEVEL] [-y] [-n]
                     [--token TOKEN]

Options:
  -h, --help            Show this help message and exit
  --host HOST           Bind socket to this host. Defaults to 127.0.0.1
  -p, --port PORT       Bind socket to this port. Defaults to 3000.
  -l, --log-level LOG_LEVEL
                        Server logging level. Defaults to INFO.
  -y, --yes             Don't ask for confirmation (e.g. update the config)
  -n, --no              Don't ask for confirmation (e.g. do not update the
                        config)
  --token TOKEN         The admin user token