This is a cache of https://yeasy.gitbook.io/docker_practice/podman. It is a snapshot of the page as it appeared on 2025-09-03T14:01:03.805+0200.
podman - 下一代 <strong>linux</strong> 容器工具 | Docker — 从入门到实践

podman - 下一代 linux 容器工具

podman 是一个无守护程序与 docker 命令兼容的下一代 linux 容器工具。

安装

$ sudo yum -y install podman

使用

podman 与 docker 命令完全兼容,只需将 docker 替换为 podman 即可,例如运行一个容器:

# $ docker run -d -p 80:80 nginx:alpine

$ podman run -d -p 80:80 nginx:alpine

参考

  • https://developers.redhat.com/blog/2019/02/21/podman-and-buildah-for-docker-users/

最后更新于

这有帮助吗?