You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Podman setup to quickstart: install, configure containers.conf
with [engine.runtimes], optional urunc config.toml for monitor path,
and run example with --runtime urunc. Align structure with Docker and
nerdctl sections. Minor README update.
Signed-off-by: sidneychang <2190206983@qq.com>
Copy file name to clipboardExpand all lines: docs/quickstart.md
+91-1Lines changed: 91 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ refer to the [installation guide](../installation) for more detailed installatio
3
3
instructions, or the [design](../design#architecture) document for more
4
4
details regarding `urunc`'s architecture.
5
5
6
-
We can quickly set `urunc`either with [docker](https://docs.docker.com/engine/install/ubuntu/) or [containerd](https://github.com/containerd/containerd) and [nerdctl](https://github.com/containerd/nerdctl/).
6
+
We can quickly set `urunc` with [docker](https://docs.docker.com/engine/install/ubuntu/), [Podman](https://podman.io/), or [containerd](https://github.com/containerd/containerd) and [nerdctl](https://github.com/containerd/nerdctl/).
7
7
We assume a vanilla ubuntu 22.04 environment, although `urunc` is able to run
8
8
on a number of GNU/Linux distributions.
9
9
@@ -88,6 +88,96 @@ $ curl 172.17.0.2
88
88
</body>
89
89
</html>
90
90
```
91
+
92
+
## Using Podman
93
+
94
+
You can run `urunc` with [Podman](https://podman.io/) by configuring Podman to use `urunc` as the OCI runtime.
95
+
96
+
**Prerequisites:**[Podman](https://podman.io/), [QEMU](https://www.qemu.org/) (e.g. `sudo apt install qemu-system`), and the `urunc` binary. Install `urunc` from source as in [Install `urunc` from source](#install-urunc-from-source) above, or follow the [installation guide](installation.md).
97
+
98
+
### Install Podman
99
+
100
+
If Podman is not already installed:
101
+
102
+
```bash
103
+
sudo apt install podman
104
+
```
105
+
106
+
### Configure Podman to use urunc
107
+
108
+
Copy the default configuration and register the `urunc` runtime:
Inspect and verify (replace the container ID with yours):
149
+
150
+
```console
151
+
$ podman ps
152
+
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
153
+
88aa2508eb9b harbor.nbfc.io/nubificus/urunc/nginx-qemu-unikraft-initrd:latest -c /nginx/conf/ng... About a minute Up About a minute compassionate_swanson
0 commit comments