如何在在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/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM