Skip to content

Conversation

@ydirson
Copy link
Contributor

@ydirson ydirson commented Aug 25, 2025

The steps described in this PR allowed me to use qb with podman in a fc42 qube.

This PR relies on files added in QubesOS/qubes-builderv2#218

The big advantages of podman over docker as I see it, are not requiring to run things as root, and being available in usable form on prominent distros without having to add (and trust) an additional repository.

Maybe it would be a good idea to even go further and suggest podman as first choice? actually it seems the podman builder is not ready enough

@ydirson ydirson force-pushed the qb-doc-improvements branch from 0c62559 to 23bbc9a Compare August 27, 2025 12:30
@ydirson ydirson marked this pull request as ready for review August 27, 2025 12:31
@ydirson ydirson marked this pull request as draft August 28, 2025 10:09
@ydirson ydirson marked this pull request as ready for review September 28, 2025 14:28
3. Installing dependencies

If you want to use an app qube for developing, install dependencies in the template. If you are using a standalone, install them in the qube itself. Dependencies are specified in ``dependencies-*. txt`` files in the main builder directory (you will also find dependency lists for ``podman`` and ``qubes`` executors if you choose to use thsose), and you can install them easily in the following ways:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you want to use an app qube for developing, install dependencies in the template. If you are using a standalone, install them in the qube itself. Dependencies are specified in ``dependencies-*. txt`` files in the main builder directory (you will also find dependency lists for ``podman`` and ``qubes`` executors if you choose to use thsose), and you can install them easily in the following ways:
If you want to use an app qube for developing, install dependencies in the template. If you are using a standalone, install them in the qube itself. Dependencies are specified in ``dependencies-*. txt`` files in the main builder directory (you will also find dependency lists for ``podman`` and ``qubes`` executors if you choose to use those), and you can install them easily in the following ways:

-----

This is a simple setup using a docker executor. This is a good default choice; if you don’t know which executor to use, use docker.
This is a simple setup using a docker or podman executor. This is a good default choice; if you don’t know which executor to use, use docker. Note the podman exector `is known <https://github.com/QubesOS/qubes-issues/issues/10280>` not to be currently able to build DEB packages.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This is a simple setup using a docker or podman executor. This is a good default choice; if you don’t know which executor to use, use docker. Note the podman exector `is known <https://github.com/QubesOS/qubes-issues/issues/10280>` not to be currently able to build DEB packages.
This is a simple setup using a docker or podman executor. This is a good default choice; if you don’t know which executor to use, use docker. Note the podman executor `is known <https://github.com/QubesOS/qubes-issues/issues/10280>`__ not to be currently able to build DEB packages.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need a __ after the link so it's considered a link

$ tools/generate-container-image.sh podman
If you are using ``docker`` and an app qube, as ``/var/lib/docker`` is not persistent by default, you also need to use :doc:`bind-dirs </user/advanced-topics/bind-dirs>` to avoid repeating this step after reboot, adding the following to the ``/rw/config/qubes-bind-dirs.d/docker.conf`` file in this qube:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you are using ``docker`` and an app qube, as ``/var/lib/docker`` is not persistent by default, you also need to use :doc:`bind-dirs </user/advanced-topics/bind-dirs>` to avoid repeating this step after reboot, adding the following to the ``/rw/config/qubes-bind-dirs.d/docker.conf`` file in this qube:
If you are using ``docker`` within an app qube, as ``/var/lib/docker`` is not persistent by default, you also need to use :doc:`bind-dirs </user/advanced-topics/bind-dirs>` to avoid repeating this step after reboot, adding the following to the ``/rw/config/qubes-bind-dirs.d/docker.conf`` file in this qube:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants