Bootstrap Scripts
This repository provides installation scripts for setting up Docker and NVIDIA drivers on Ubuntu systems.
Usage
You can run the installation scripts with a single command using curl and
bash.
Quick copy commands
All install and uninstall commands are collected here for fast copy and paste.
Default latest commands
These are convenient defaults. They are not pinned; the selected version can depend on the host Ubuntu release.
Docker and Docker Compose
latestsudo bash -c "$(curl -fsSL https://boot.ee.lunit.io/docker/latest/install.sh)"
NVIDIA Driver
latestsudo bash -c "$(curl -fsSL https://boot.ee.lunit.io/nvidia-driver/latest/install.sh)"
NVIDIA Container Toolkit
latestbash -c "$(curl -fsSL https://boot.ee.lunit.io/nvidia-container-toolkit/latest/install.sh)"
Uninstall NVIDIA Driver
uninstallsudo bash -c "$(curl -fsSL https://boot.ee.lunit.io/nvidia-driver/uninstall.sh)"
Versioning and tested Ubuntu targets
Rows with a latest badge are selected by the default latest command. Use a row copy button to install that explicit version.
Docker and Docker Compose
| Tested Ubuntu | Installable version | Copy |
|---|---|---|
| 24.04 LTSNoble | Docker 29.5.3 latest | |
| 22.04 LTSJammy | Docker 29.5.3 latest | |
| 20.04 LTSFocal | Docker 28.1.1 latest |
NVIDIA Driver
| Tested Ubuntu | Installable version | Copy |
|---|---|---|
| 24.04 LTSNoble | NVIDIA Driver 580 latest | |
| 24.04 LTSNoble | NVIDIA Driver 535 | |
| 22.04 LTSJammy | NVIDIA Driver 580 latest | |
| 22.04 LTSJammy | NVIDIA Driver 535 | |
| 20.04 LTSFocal | NVIDIA Driver 535 latest |
NVIDIA Container Toolkit
| Tested Ubuntu | Installable version | Copy |
|---|---|---|
| 24.04 LTSNoble | NVIDIA Container Toolkit 1.17.8 latest | |
| 22.04 LTSJammy | NVIDIA Container Toolkit 1.17.8 latest | |
| 20.04 LTSFocal | NVIDIA Container Toolkit 1.17.8 latest |
Disclaimer
These scripts are intended for Ubuntu 20.04, 22.04, 24.04 LTS systems. Please review the scripts before running them on your machine.
Changelog
-
v2026.08.14
-
Fixed the NVIDIA Driver 535 installer on Ubuntu 22.04/24.04 so transitional
nvidia-driver-535-serverpackages cannot pull in the 580 driver branch. The installer now selects a real 535 package version, pins the NVIDIA package source with APT preferences, and installs the complete driver stack at that version. - Validated the fix on Ubuntu 24.04 with a Quadro RTX 6000 GPU; the installed and loaded driver is 535.161.08 and no 580 packages remain.
-
Fixed the NVIDIA Driver 535 installer on Ubuntu 22.04/24.04 so transitional
-
v2026.07.16
-
Redesigned the usage page so default
latestcommands are grouped for quick copy and explicit version installs are shown in the versioning table. - Added per-product Ubuntu target tables sorted by newest LTS first, with latest badges and copy buttons for each installable version.
-
Redesigned the usage page so default
-
v2026.06.23
-
Added Ubuntu 20.04 (focal) support. The
latestinstallers now auto-detect your Ubuntu version: Docker installs 28.1.1 on 20.04 (and 29.5.3 on 22.04/24.04), and the NVIDIA Driver installs 535 on 20.04 (and 580 on 22.04/24.04).
-
Added Ubuntu 20.04 (focal) support. The
-
v2026.06.12
-
The NVIDIA Driver metapackage is now held (
apt-mark hold) after install so unattended-upgrades can no longer bump the driver out from under running GPU workloads. The hold is released bynvidia-driver/uninstall.sh.
-
The NVIDIA Driver metapackage is now held (
-
v2026.06.11
-
Version pinning is now supported.
latestinstalls the latest validated version for your OS, and explicit version paths (e.g.docker/29.5.3/install.sh,nvidia-driver/535/install.sh) let you pin a specific version. -
The Docker installer now uses
--no-install-recommendsso fresh installs omit thebuildxandrootlessplugins.
-
Version pinning is now supported.
-
v2026.06.10
-
Install URLs have changed to a versioned structure. Use
docker/latest/install.sh,nvidia-driver/latest/install.sh,nvidia-container-toolkit/latest/install.sh, andnvidia-driver/uninstall.sh. The previous.../ubuntu/install_*.shpaths have been removed — update any bookmarks or scripts. -
NVIDIA Driver default bumped to 580 (Enterprise Ready Driver). The
nvidia-driver/latest/install.shcommand now installs 580; the 535 driver remains available atnvidia-driver/535/install.sh. -
NVIDIA Driver installer now always installs the
-server(Enterprise Ready Driver) package, dropping the previous GPU-model heuristic. A single package serves both desktop and server environments with a longer support lifecycle. -
NVIDIA Driver installer no longer prompts for or triggers a reboot. It now detects
whether a reboot is required (nvidia-smi status, lingering
nouveaumodule, pending kernel upgrade) and prints a clearREBOOT REQUIRED/NO REBOOT REQUIREDmessage before exiting.
-
Install URLs have changed to a versioned structure. Use