Installation
Prerequisites
GPUStack server:
- Docker must be installed. Docker Desktop (Windows and macOS) is also supported.
GPUStack workers:
- Docker must be installed. Docker Desktop is not supported.
- Only Linux is supported for GPUStack worker nodes. If you use Windows, consider using WSL2 and avoid using Docker Desktop. macOS is not supported for GPUStack worker nodes.
- Ensure the appropriate GPU drivers and container toolkits are installed for your hardware. See the Installation Requirements for details.
Install GPUStack Server
Run the following command to install and start the GPUStack server using Docker:
Note
GPUStack v2 uses a single unified container image for all GPU device types.
Startup
Check the GPUStack container logs:
If everything is normal, open http://your_host_ip in a browser to access the GPUStack UI.
Log in with username admin and the default password. Retrieve the initial password with:
Add GPU Clusters and Worker Nodes
Please follow the UI instructions on the Clusters and Workers pages to add GPU clusters and worker nodes.
Custom Configuration
The following sections describe examples of custom configuration options when starting the GPUStack server container. For a full list of available options, refer to the CLI Reference.
Enable HTTPS with Custom Certificate
Using an External Database
By default, GPUStack uses an embedded PostgreSQL database. To use an external database such as PostgreSQL or MySQL, set the GPUSTACK_DATABASE_URL environment variable or use the --database-url argument when starting the GPUStack container:
Configure External Server URL
If you use a cloud provider to provision workers, set the external server URL for worker registration to ensure that workers can connect to the server correctly.
Additional Trusted CAs
If GPUStack needs to communicate with services that use certificates issued by a private or corporate CA (e.g., a self-hosted Identity Provider, a Hugging Face mirror, or an internal API endpoint), mount the CA certificate into the container under /usr/local/share/ca-certificates/. GPUStack will automatically import the mounted CA certificates during startup and add them to the system trust store.
Note
The certificate file must have a .crt extension. You can mount multiple CA certificates by adding additional --volume flags.
Installation via Docker Compose
Prerequisites
- Docker Compose must be installed.
- Required ports must be available.
Deployment
The Docker Compose files and configuration files are maintained in the GPUStack repository.
Run the following commands to clone the latest stable release:
Start the GPUStack server:
If everything is normal, open http://your_host_ip in a browser to access the GPUStack UI.
Log in with username admin and the default password. Retrieve the initial password with:
For built-in and external observability options, see Observability.