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
podman (https://github.com/containers/libpod) support all docker commands, Dockerfiles, and it can be run as user.
You can find in attachment podman.sh that is a copy of the engine/docker.sh with minor modifications.
The bob-*, builder and image templates does not need modifications.
Install podman on gentoo:
thank you for this! A PR would indeed be prefered but no worries if you are busy.
Had a quick look at the changes, as Podman seems to be a true in-place replacement for Docker we should try to reduce code duplication as much as possible. You can kinda "extend" docker.sh like so:
#!/usr/bin/env bash
source "${_KUBLER_DIR}"/engine/docker.sh
# override functions/vars as required..
DOCKER="podman"
As most changes are related to var names and output it might be better to change docker.sh so it can be extended without having to duplicate a lot of code. Let me know if you need help with that, you can also hit me up on Discord.
Clearly a better approach than mine.
With your approach, the only modification needed in engine/docker.sh is to avoid '-f' argument for 'podman image prune' in build_image():
Hi,
podman (https://github.com/containers/libpod) support all docker commands, Dockerfiles, and it can be run as user.
You can find in attachment podman.sh that is a copy of the engine/docker.sh with minor modifications.
The bob-*, builder and image templates does not need modifications.
Install podman on gentoo:
podman.txt
Let me know if you prefer a PR...
PS - @edannenberg thank you for this awesome project.
The text was updated successfully, but these errors were encountered: