2022年5月11日星期三

PVE CT机增加Docker功能

例如CT100是Debian10 CT机,为了让他支持Docker

PVE母鸡ssh敲入

nano  /etc/pve/lxc/100.conf


添加下面三行

lxc.apparmor.profile: unconfined

lxc.cgroup.devices.allow: a

lxc.cap.drop:


#保存

ctrl+o

#重启CT100 机

#之后CT机ssh一键添加docker

curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh

没有评论:

发表评论

openwrt在线编译 插件名字查找

openwrt在线编译 https://firmware-selector.staging.immortalwrt.org/ 插件名字查找 https://downloads.staging.immortalwrt.org/releases/23.05.1/packages/x8...