mbecker20/komodo

Podman & Logdriver local not working (sample compose.yml doesnt work in podman)

Closed this issue · 3 comments

Hey,

copy & pasted the sqlite compose from your docs on a debian podman machine and got the following error:
Error response from daemon: container create: running container create option: invalid log driver: invalid argument

Turns out podman only supports certain log drivers:
https://docs.podman.io/en/latest/markdown/podman-run.1.html
Currently available options are k8s-file, journald, none, passthrough and passthrough-tty, with json-file aliased to k8s-file for scripting compatibility. (Default journald).

Not saying that is anything you would need to fix but I think it might be worth it to put up a big fat warning in your docs to tell people they need to change their log driver to something else.

I changed mine to passthrough and your SQLite compose worked right out of the box :-)

Thanks for the feedback, I wasn't aware of this. I'll provide a podman alternative.

You're welcome 😁 I changed it to journald so that cockpit spits out logging, that might be a good default for people wanting to play around with it