1.2 KiB
1.2 KiB
LXC / Systemd-nspawn Deployment Guide
Overview
For users who prefer containerization without the overhead or dependency on the Docker daemon, `org-agent` can be run within a standard Linux Container (LXC) or a systemd-nspawn container.
Systemd-nspawn Setup (Fastest for Linux users)
-
Create the container root:
sudo debootstrap --arch=amd64 bookworm /var/lib/machines/org-agent -
Start and enter the container:
sudo systemd-nspawn -D /var/lib/machines/org-agent -
Install dependencies (inside container):
apt-get update && apt-get install -y sbcl curl git ripgrep libsqlite3-dev build-essential -
Bind mount the Memex directory: Add this to your container startup or use the `–bind` flag:
sudo systemd-nspawn -D /var/lib/machines/org-agent --bind /home/amr/.openclaw/workspace/memex
Proxmox LXC Setup
- Create a new LXC container using the Debian 12 template.
- Ensure the network is bridged so Emacs can reach it.
- Run the `deploy/bare-metal/install.sh` script inside the container.