mbecker20 / komodo

🦎 a tool to build and deploy software on many servers 🦎
GNU General Public License v3.0
1.2k stars 20 forks source link

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

Open ChrisonSimtian opened 6 days ago

ChrisonSimtian commented 6 days ago

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 :-)

mbecker20 commented 4 days ago

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

ChrisonSimtian commented 4 days ago

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