香港服务器香港服务器租用

如何在在CentOS 8上安装Podman

步骤1.首先,让我们首先确保您的系统是最新的。
sudo dnf clean all
sudo dnf update
步骤2.在CentOS 8上安装Podman。
运行以下命令以在CentOS系统上安装Podman:
sudo dnf install podman
检查Podman的版本:
podman --version
步骤3.如何使用Podman。
现在Podman已安装在我们的CentOS系统中,是时候开始使用它了:
# Pull image
$ podman pull ubuntu
$ podman pull centos

# List existing images
$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
docker.io/library/ubuntu latest 775349758637 3 weeks ago 66.6 MB
docker.io/library/alpine latest 965ea09ff2eb 5 weeks ago 5.82 MB
docker.io/library/centos latest 0f3e07c0138f 7 weeks ago 227 MB
要下载您喜欢的镜像,只需使用以下语法:
podman pull image
例如,要下载Ubuntu镜像,请运行:
podman pull ubuntu
至此,您已成功安装Podman。A5互联https://www.a5idc.net/

posted @ 2020-09-17 08:43  A5互联  阅读(1792)  评论(0编辑  收藏  举报
江苏镇江高防服务器BGP云服务器