ubuntu-lxd-gpu-server

Community

Automate LXD setup and GPU passthrough for Ubuntu servers.

Authorsoulmachine
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the setup of LXD on Ubuntu servers and passes all NVIDIA GPUs into LXD containers via CDI.

Core Features & Use Cases

  • Automated LXD Installation: Install LXD with a preseed configuration for a ZFS or directory storage pool.
  • GPU Passthrough: Enable GPU passthrough for every LXD container using NVIDIA CDI.
  • Use Case: When you need to set up an Ubuntu server with LXD and GPU support for containerized applications, this Skill can save you time and ensure consistent configuration.

Quick Start

Run the script to install LXD and set up GPU passthrough for Ubuntu:

sudo LXD_STORAGE=zfs:rpool/lxd bash scripts/install-lxd.sh

Dependency Matrix

Required Modules

nvidia-container-toolkitlxd

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ubuntu-lxd-gpu-server
Download link: https://github.com/soulmachine/skills/archive/main.zip#ubuntu-lxd-gpu-server

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.