Add podman

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
This commit is contained in:
Kang HuaiShuai 2019-12-31 20:48:52 +08:00
parent 0dcc67da1c
commit 9f0b2c725f
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
3 changed files with 25 additions and 0 deletions

View File

@ -358,6 +358,7 @@ module.exports = {
'opensource/linuxkit',
],
},
'podman/',
'appendix/faq/',
{
title: "热门镜像介绍",

View File

@ -146,6 +146,7 @@
* [VS Code](IDE/vsCode.md)
* [Docker 开源项目](opensource/README.md)
* [LinuxKit](opensource/linuxkit.md)
* [podman -- 下一代 Linux 容器工具](podman/README.md)
* [附录](appendix/README.md)
* [附录一常见问题总结](appendix/faq/README.md)
* [附录二热门镜像介绍](appendix/repo/README.md)

23
podman/README.md Normal file
View File

@ -0,0 +1,23 @@
# podman
[`podman`](https://github.com/containers/libpod) 是一个无守护程序与 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/