Podman support (with systemd)
Please add OOTB support for running containers using Podman, with the possibility to use containers that utilize systemd
While adding
packages = [
pkgs.podman
];
podman will not run. Some of the issues might be related to the nix package, but some are related to the environment.
The default policy is missing and no /var/tmp. Had to fix this as follows:
onCreate = {
# this is to fix Podman: https://github.com/gbraad-devenv/idx/issues/3
setup-podman = ''
mkdir /etc/containers/
cat >> /etc/containers/policy.json <<EOF
{ "default" : [ { "type": "insecureAcceptAnything"} ]}
EOF
mkdir /var/tmp
'';
};
After these minor changes, podman can at least run.
https://issuetracker.google.com/issues/370543478
But containers that use systemd, seem to be failing.
https://issuetracker.google.com/issues/370546381
Thank you so much for taking the time to share your idea with us and for participating in our community.
Because we have officially announced the sunsetting of Firebase Studio and are currently focusing on the migration process, we are no longer accepting or implementing new feature requests for this product.
We appreciate your support and understanding as we transition to our next chapter.
-
Gerard Braad commented
It has been four months, and the situation got worse.; the workarounds for set up do not result in a working container runtime anymore.