实用命令
查看运行中的容器:
podman ps
查看所有容器:
podman ps -a
查看日志:
podman logs <container-name>
重启容器:
podman restart <container-name>
重要文件与目录
- Podman 全局配置 →
/etc/containers - Podman root 模式存储 →
/var/lib/containers - 运行时容器存储(临时)→
/run/containers
选择国家/地区,以你的语言查看 Cloudzy。
Podman 是一个无守护进程的容器运行时。可直接替换 Docker,默认无需 root 权限,内置支持 Kubernetes 风格的 Pod。由 Red Hat 提供支持,自 2018 年起成为 RHEL、Fedora 和 CentOS Stream 的标准容器运行时。
快速概览
32.1k
GitHub star 数
51
页面浏览量
实用命令
查看运行中的容器:
podman ps
查看所有容器:
podman ps -a
查看日志:
podman logs <container-name>
重启容器:
podman restart <container-name>
重要文件与目录
/etc/containers/var/lib/containers/run/containers