Skip to content

docs: add Linux deployment instructions and GPU support#1467

Open
NJX-njx wants to merge 1 commit into
instill-ai:mainfrom
NJX-njx:docs/1208-linux-deployment-instructions
Open

docs: add Linux deployment instructions and GPU support#1467
NJX-njx wants to merge 1 commit into
instill-ai:mainfrom
NJX-njx:docs/1208-linux-deployment-instructions

Conversation

@NJX-njx

@NJX-njx NJX-njx commented Mar 3, 2026

Copy link
Copy Markdown

Summary

Add instructions for deploying Instill Core on Linux systems, including optional GPU support.

Problem

Instill Core needs better instructions for spinning things up on a Linux system (as noted in #1208).

Solution

  • Add a dedicated Linux Deployment section with:
    • Docker and Docker Compose installation for Ubuntu/Debian
    • Optional NVIDIA Container Toolkit for GPU support
    • Reference to \docker-compose-nvidia.yml\ for GPU deployments

Fixes #1208

Made with Cursor

Fixes instill-ai#1208

- Add Linux-specific installation section with Docker setup
- Document optional NVIDIA Container Toolkit for GPU support
- Reference docker-compose-nvidia.yml for GPU deployments

Made-with: Cursor
Copilot AI review requested due to automatic review settings March 3, 2026 14:08
@NJX-njx NJX-njx requested a review from pinglin as a code owner March 3, 2026 14:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Linux-specific deployment guidance to the root README, including an optional GPU path, to help users run Instill Core on Linux hosts.

Changes:

  • Adds a new Linux Deployment section under Installation prerequisites.
  • Documents Docker/Docker Compose installation for Ubuntu/Debian.
  • Adds optional NVIDIA GPU support instructions referencing docker-compose-nvidia.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +67 to +69
- Use `docker-compose-nvidia.yml` instead of the default compose file when launching with GPU:
```bash
docker compose -f docker-compose-nvidia.yml up -d

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GPU launch command here uses only docker-compose-nvidia.yml, but that file is an override snippet (it only defines the ray service GPU reservation). Running docker compose -f docker-compose-nvidia.yml up -d won’t bring up the full stack. Update the instructions to either run via make run (which already merges the NVIDIA override) or use Compose merging with both docker-compose.yml and docker-compose-nvidia.yml.

Suggested change
- Use `docker-compose-nvidia.yml` instead of the default compose file when launching with GPU:
```bash
docker compose -f docker-compose-nvidia.yml up -d
- Use Docker Compose with both the default and NVIDIA override compose files when launching with GPU:
```bash
docker compose -f docker-compose.yml -f docker-compose-nvidia.yml up -d

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +58 to +62
# Ubuntu/Debian
sudo apt-get update && sudo apt-get install -y docker.io docker-compose-plugin

# Or follow the official Docker installation guide for your distribution
# https://docs.docker.com/engine/install/

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This suggests installing docker.io from the Ubuntu/Debian apt repo, but the prerequisites above require Docker Engine v25+ and recommend installing the latest stable Docker. The distro docker.io package can lag behind, creating conflicting guidance. Consider linking to the official Docker Engine install steps for Ubuntu/Debian (docker-ce + compose plugin) or explicitly requiring users to verify they have Docker Engine v25+ after install.

Suggested change
# Ubuntu/Debian
sudo apt-get update && sudo apt-get install -y docker.io docker-compose-plugin
# Or follow the official Docker installation guide for your distribution
# https://docs.docker.com/engine/install/
# Follow the official Docker installation guide for your Linux distribution:
# https://docs.docker.com/engine/install/
#
# For Ubuntu/Debian, use the official Docker Engine (docker-ce) + Docker Compose plugin
# rather than the distro `docker.io` package, which may lag behind and not meet
# the required Docker Engine v25+.
#
# After installation, verify that your versions meet the requirements:
docker --version # should report Docker Engine 25.x or later
docker compose version # should report Docker Compose v2 or later

Copilot uses AI. Check for mistakes.
Comment thread README.md
```

2. **Optional: GPU Support** (for model inference with NVIDIA GPUs):
- Install [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you recommend using make run for GPU deployments (the documented path elsewhere in this README), note that the GPU compose path in the Makefile pipes through yq to inject NVIDIA_VISIBLE_DEVICES. This Linux GPU section currently doesn’t mention installing yq, which will cause GPU launches to fail on Linux systems that otherwise have Docker + NVIDIA Container Toolkit installed.

Suggested change
- Install [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)
- Install [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)
- If you plan to use `make run` for GPU deployments, install the latest `yq` from [GitHub Repository](https://github.com/mikefarah/yq) so the GPU compose path can inject `NVIDIA_VISIBLE_DEVICES`

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Add Instructions for Deploying on Linux Systems

2 participants