Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Linux Container

jiangcuo edited this page Sep 3, 2023 · 3 revisions

Dot't download lxc template on gui

They are built for amd64 and will not run on this project.

Download Lxc template

Proxmox-Port-Repo

  • No CDN: https://mirrors.apqa.cn/proxmox/lxc/
  • cloudflare: https://global.mirrors.apqa.cn/proxmox/lxc/

jenkins.linuxcontainers.org

https://jenkins.linuxcontainers.org/view/LXC/job/image-{distribution}/

mirror.tuna.tsinghua.edu.cn

https://mirror.tuna.tsinghua.edu.cn/lxc-images/images/

Download the rootfs.tar.xz and upload to proxmox ve vztmpl dir

create a lxc vm

download template

wget -P /var/lib/vz/template/cache/ \
-o debian-arm64-bullseye.tar.xz \
https://mirrors.apqa.cn/proxmox/lxc/debian/debian-bullseye-20230903-arm64-rootfs.tar.xz

create lxc vmid=200

pct create 200 --rootfs local:10 \
--hostname debian-bullseye \
--password passwd \
local:vztmpl/debian-arm64-bullseye.tar.xz

start and connect

pct start 200 && pct console 200

Debian12 note

Debian12 lxc-image using systemd-network, We need create by command first and then add a net on webui.