[GH-ISSUE #2694] catthehacker/ubuntu:act-latest image should have podman preinstalled and working #1218

Open
opened 2026-03-01 21:49:45 +03:00 by kerem · 1 comment
Owner

Originally created by @gmankab on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/2694

here is a workflow:

name: podman
on:
  push:
jobs:
  build-push:
    runs-on: ubuntu-latest
    steps:
      - run: |
          podman run quay.io/podman/hello

it works on github out of the box, podman is preinstalled

but it does not work with act, says podman: command not found, seems like catthehacker/ubuntu:act-latest image does not have podman preinstalled

if you install podman with apt, it still does not work

| WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers
| WARN[0000] using rootless single mapping into the namespace. This might break some images. Check /etc/subuid and /etc/subgid for adding sub*ids
| Trying to pull quay.io/podman/hello:latest...
| Getting image source signatures
| …
| …
| Writing manifest to image destination
| Storing signatures
| Error: /usr/bin/slirp4netns failed: "open(\"/dev/net/tun\"): No such file or directory\nWARNING: Support for seccomp is experimental\nchild failed(1)\nWARNING: Support for seccomp is experimental\n"
Originally created by @gmankab on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/nektos/act/issues/2694 here is a workflow: ```yml name: podman on: push: jobs: build-push: runs-on: ubuntu-latest steps: - run: | podman run quay.io/podman/hello ``` it works on github out of the box, podman is preinstalled but it does not work with act, says `podman: command not found`, seems like catthehacker/ubuntu:act-latest image does not have podman preinstalled if you install podman with apt, it still does not work ```log | WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers | WARN[0000] using rootless single mapping into the namespace. This might break some images. Check /etc/subuid and /etc/subgid for adding sub*ids | Trying to pull quay.io/podman/hello:latest... | Getting image source signatures | … | … | Writing manifest to image destination | Storing signatures | Error: /usr/bin/slirp4netns failed: "open(\"/dev/net/tun\"): No such file or directory\nWARNING: Support for seccomp is experimental\nchild failed(1)\nWARNING: Support for seccomp is experimental\n" ```
Author
Owner

@ChristopherHX commented on GitHub (Mar 15, 2025):

Installing all tools one by one into the medium image, makes it equivalent to catthehacker/ubuntu:full-latest .

I have never used podman within an act job container

if you install podman with apt, it still does not work

Give your docker container more permissions e.g. --container-options "--privileged"

<!-- gh-comment-id:2726032959 --> @ChristopherHX commented on GitHub (Mar 15, 2025): Installing all tools one by one into the medium image, makes it equivalent to catthehacker/ubuntu:full-latest . _I have never used podman within an act job container_ > if you install podman with apt, it still does not work Give your docker container more permissions e.g. `--container-options "--privileged"`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1218
No description provided.