docker_practice/podman/README.md

24 lines
511 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# podman
[`podman`](https://github.com/containers/podman) 是一个无守护程序与 docker 命令兼容的下一代 Linux 容器工具。
##
```bash
$ sudo yum -y install podman
```
## 使
`podman` docker `docker` `podman`
```bash
# $ 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/