expand podman section
This commit is contained in:
@@ -37,9 +37,27 @@ echo "autoload -U compinit; compinit" > ~/.zshrc
|
||||
|
||||
## Podman
|
||||
|
||||
1. `pacman -S podman buildah cni-plugins slirp4netns`
|
||||
2. `podman pull docker.io/debian:latest`
|
||||
3. `podman run -it debian:latest bash`
|
||||
Install with the following
|
||||
|
||||
`pacman -S podman buildah cni-plugins slirp4netns podman-dnsname aardvark-dns`
|
||||
|
||||
Then you can run rootless containers like so:
|
||||
|
||||
```bash
|
||||
podman pull docker.io/library/python:3.11
|
||||
podman run -it python:3.11 bash
|
||||
|
||||
podman network create test
|
||||
podman pod create --network test --publish 8000:8000 test1
|
||||
podman run -it --pod test1 python:3.11 bash
|
||||
```
|
||||
|
||||
You can also deploy pods with kubernetes yamls.
|
||||
|
||||
```bash
|
||||
podman network create test
|
||||
podman kube play --network test podman-deploy.yaml --replace
|
||||
```
|
||||
|
||||
## QEMU/KVM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user