LXC・LXDのinstance、profileと資源管理2 / 5

Imageとinstanceの作成

lxc remote list
lxc image list ubuntu:
lxc init ubuntu:24.04 web01
lxc start web01
lxc list
lxc exec web01 -- sh
lxc info web01
lxcの指定 操作
lxc init instanceを作成
launch instanceの作成と起動
lxc image copy imageのコピー
image export/import imageの書出し・取込み

imageのaliasは更新されることがある。再現性を必要とする場合はfingerprint等も記録する。containerの変更が元の公開imageへ自動で書き戻るわけではない。imageを扱う操作と、instanceのcopy・snapshotでは対象が異なる。

学習パスへ
参考資料