Skip to main content
LaboratoryInfrastructure & Networks

Golxc

Direct LXD container, image, and storage control over Unix sockets.

Go client that manages LXD containers, images, and storage pools directly over the local Unix socket.

StackGo / LXD
FocusUnix domain sockets, Container lifecycle, Storage pools, Daemon APIs
Author-provided description

The problem

Automating LXD infrastructure from Go often means shelling out to CLI wrappers instead of speaking directly to the daemon socket.

Approach

Communicates directly with the LXD daemon over its Unix socket to manage container lifecycles, images, and storage pools programmatically.

Go developers building infrastructure automation or local lab orchestration on top of LXD.

Container, Image & Storage Lifecycle

How do images, storage pools, and container states relate over the LXD Unix socket?

Conceptual illustration
Conceptual summary from author-provided project descriptions.
Context

Automating LXD infrastructure from Go often means shelling out to CLI wrappers instead of speaking directly to the daemon socket.

Mechanism

Communicates directly with the LXD daemon over its Unix socket to manage container lifecycles, images, and storage pools programmatically.

Capabilities
  • — Manages LXD containers, images, and storage pools from Go.
  • — Connects directly over the local LXD Unix socket.

Architecture & notes

Claims are labeled by evidence type. Details requiring direct source inspection are kept explicit.

Capabilities2
  • — Manages LXD containers, images, and storage pools from Go.
  • — Connects directly over the local LXD Unix socket.
Design & implementation evidence2
Local Unix socket control plane
Author-provided description

Avoids network exposure by communicating with the LXD daemon through local filesystem socket permissions.

Endpoint coverage
Pending verification

Specific LXD REST endpoints implemented are pending source verification.

Scope & limitations1
  • — Lifecycle overview is conceptual and does not execute container commands.