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
The problem is that the containers running with/without sudo are not grouped together and that could be a problem for later (because I want to use podman python package to realize tasks and it seems to be able to interact only with the non roots containers)
For the moment the only way I found to run ofelia with podman without sudo is with the .ini files method:
For the moment this is the solution I found to run Ofelia with Podman but should I do it another way ? Or is it possible to think of a daemon --podman option ?
That would be nice because the labels are really comfortable to use with podman-compose and can work easily with .env files (for variables substitutions in the scheduler for example).
Hence for the moment I substitute the variables of a config.ini with a .env using envsubst before running the podman or podman-compose with Ofelia !
The text was updated successfully, but these errors were encountered:
I am not sure if I get problem correctly, however I am using it with rootless podman without any problem.
I think your problem is that in rootles (without sudo) command you have used root socket: Error: statfs /run/podman/podman.sock: permission denied
instead user one.
In podman command you have changed that to --volume /run/user/1000/podman/podman.sock:/var/run/docker.sock:ro \
just use /run/user/1000/podman/podman.sock and then you will be able to use other containers for your user.
If you want to mix root and rootless containers I think that you should use same socket with correct accesses. However it's probably aginst design of podman. Best option would be use only one kind of containers (eg. rootles).
Edit: For me there is no issue of ofelia and option --daemon docker works for podman as well.
Hi,
I'm running podman-compose to run different services and I wanted to use Ofelia for task scheduling (really cool project by the way).
My first try (I've installed podman podman-docker):
Then I tried to mount the podman.socket like this:
But running with sudo it seems to work:
The problem is that the containers running with/without sudo are not grouped together and that could be a problem for later (because I want to use podman python package to realize tasks and it seems to be able to interact only with the non roots containers)
For the moment the only way I found to run ofelia with podman without sudo is with the .ini files method:
For the moment this is the solution I found to run Ofelia with Podman but should I do it another way ? Or is it possible to think of a daemon --podman option ?
That would be nice because the labels are really comfortable to use with podman-compose and can work easily with .env files (for variables substitutions in the scheduler for example).
Hence for the moment I substitute the variables of a config.ini with a .env using envsubst before running the podman or podman-compose with Ofelia !
The text was updated successfully, but these errors were encountered: