Podman

Golang API Bindings

The podman driver for Koble is an API client using pkg/bindings. This means that a Podman API server must be running to handle client requests. It is technically possible to use the functions provided by libpod for managing containers directly from the koble binary, which would remove Podman as a runtime dependency. However this would add significant complexity to the project.

The documentation for podman’s pkg/bindings is the source code. For working on the driver its useful to use the Godoc reference, in addition to the source code. Using an IDE / editor with good Golang support is helpful and can make usage of the Podman bindings relatively easy.

Container Images

The images used by Koble’s Podman "machines" are created using koble-fs. The default Debian image is published at docker.io/b177y/koble-deb.