下载Podman安装程序
查看安装情况
podman -v
自动安装WSL
wsl -l -v
wsl --update
wsl --install --no-distribution
创建第一台机器并启动
podman machine init
podman machine start

检查是否安装成功
wsl -l -v
![]()
拉取镜像
podman run ubi8-micro date

更换为国内源
修改registries.conf配置文件
wsl
sudo vi /etc/containers/registries.conf
unqualified-search-registries = ["docker.io"]
[[registry]]
prefix = "docker.io"
location = "docker.m.daocloud.io"
exit
exit
测试
podman pull nginx:latest
podman run -it --name my-nginx nginx:latest



被折叠的 条评论
为什么被折叠?



