tldr: is this possible?

I’m trying to move from docker compose to podman quadlets and while I’ve got some basic differences down I’m having an issue with using quadlets in proxmox lxc. it works fine in a vm, so my question is, has anyone gotten quadlets to work in a lxc? And if so, how do I fix the below error?

when I try to take a working quadlet file from a vm to lxc I get the following error:

Failed to connect to user scope bus via local transport: No such file or directory  

I’ve tried researching the error and did all the troubleshooting in this url: https://linuxconfig.org/how-to-fix-failed-to-connect-to-system-scope-bus-error-in-linux

which suggests it’s because systemd isn’t running, but it is.

podman@podman-test:~$ ps aux | grep systemd~  
podman       349  0.0  0.2   3508  1480 pts/1    S+   19:55   0:00 grep systemd~ 

again, I’m very new to quadlets so it’s very possible I’m missing something.

Thanks in advance!

ETA: I prefer lxc for the resource overhead savings.

Edit2: running rootless podman on proxmox 9 Debian lxc. I’ve also tried Alma Linux lxc

  • dan@upvote.au
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    Your ps output doesn’t show systemd as running. The only output is the grep command itself.