服务器升级
Before running the upgrade command, it is required to upgrade the mgradm tool first.
过程:升级服务器
使用
zypper刷新软件储存库:zypper ref应用可用更新:
对于 SLE Micro:
transactional-update如果已应用更新,请
重引导。对于 SUSE Linux Enterprise Server:
zypper up可使用以下命令更新 SUSE Manager 服务器容器:
mgradm upgrade podman此命令可使容器保持最新状态并重启动服务器。
Clean up the unused container images to free disk space:
podman image prune -a
|
升级到特定版本
如果未指定标记参数,则默认会升级到最新版本。要升级到特定版本,请为标记参数提供所需的映像标记。 |
要查看 upgrade 命令及其参数的详细信息,请使用以下命令:
mgradm upgrade podman -h
对于物理隔离的安装,请先升级容器 RPM 软件包,然后运行 mgradm 命令。