Trouble launching containers with Quadlet.
Hello there. I'm having a drop of trouble launching containers with quadlet, and was wondering if someone could give me a suggestion? I've created two container files with appropriate contents in the specified location (e.g.:
~/.config/containers/systemd/wger.container
), and tried the commands, getting an error.
This occurs with my other container as well.
Is there some reason systemd would fail to recognize these services?1 Reply
Okay. The solution here is interesting. There was an issue in the container file which is specifically a result of a change from podman to quadlet (specifically that Restart needs to be under a separate [Service] heading). I would have expected this to result in an error when trying to launch the service, but that does not happen. Instead it results in daemon-reload failing to recognize the container file as a service at all, and thus throwing no error. This strikes me as a thing that should probably be fixed in quadlet. For now, just good to know "Failed to start ... service not found" might be a silent error in the.container file syntax.