目录
- 进入 事务更新Shell
- 配置软件源
- 下载安装
- 退出 事务更新Shell
- 重命名快照
- 重启
进入 事务更新Shell
transactional-update shell
以下命令在原子事务shell
配置软件源
zypper ar -fcg https://mirrors.aliyun.com/opensuse/distribution/leap-micro/6.1/product/repo/openSUSE-Leap-Micro-6.1-x86_64/ aliyun-leap-micro
zypper repos -d
下载安装
zypper install -y containerd
containerd -v
退出 事务更新Shell
exit
退出时,系统会自动创建快照,但需要重启才能应用更改。
重命名快照
snapper modify -d 'Install containerd' XX #当前快照ID
## snapper create -d 'install containerd' #也可以手动创建
snapper list
重启
reboot