Podman
Dagger can be used with any OCI-compatible container runtime, including Podman.
Prerequisitesā
Ensure that podman is installed and running on your system:
$ podman info
host:
arch: amd64
buildahVersion: 1.41.4
...
warning
Podman must be configured for rootful container execution.
You can install podman using the official instructions.
note
Podman Desktop on Mac and RHEL 8.x users may need to additionally execute modprobe iptable_nat
.
To access the virtual machine used by Podman Desktop on Mac, use the commands below:
# list podman machines
podman machine list
# log in to machine
podman machine ssh podman-machine-default
# execute command
sudo modprobe iptable_nat
Exampleā
$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
$ dagger core version
v0.18.19
$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
27d47c3d5a10 registry.dagger.io/engine:v0.18.19 "dagger-entrypoint.sā¦" 6 days ago Up 4 hours dagger-engine-v0.18.19
Resourcesā
If you have any questions about additional ways to use Podman with Dagger, join our Discord and ask your questions in our help channel.
About Podmanā
Podman is a Docker-compatible tool to manage and run OCI containers.