Podman: feature request: support pods in `systemd generate --new`

Created on 15 Jan 2020  路  9Comments  路  Source: containers/podman

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

podman generate systemd --new pod currently fails with:

Error: error generating systemd unit files: cannot generate generic files for a pod

Steps to reproduce the issue:

  1. Run podman generate systemd --new pod on a pod

After talking to @mheon on IRC he suggested to open a feature request since it should be technically possible to create such a systemd file.

kinfeature stale-issue

Most helpful comment

Not yet. I expect to be working on this in May. Note that you can create systemd units for pods but not (yet) with the --new flag.

All 9 comments

I'll pick this one. It's already on my todo list but I deferred tackling it as I wanted to think a bit about an elegant way to find a mapping to the pod.

Thanks for opening the issue, @apollo13 !

A friendly reminder that this issue had no activity for 30 days.

@vrothberg hasn't some of this been implemented?

It has been for containers but not for pods. I will tackle this after my PTO. The v2 API (and the bugs) had a higher priority in past weeks.

No problem,

Any news on this? I'd love not having to keep around the container config files when creating systemd units for pods :)

Not yet. I expect to be working on this in May. Note that you can create systemd units for pods but not (yet) with the --new flag.

I going through issues at the moment and noticed that this one is covered mutliple times. Given https://github.com/containers/libpod/issues/5605 has a more recent conversation, I am going to close this one here and ask to move comments over to https://github.com/containers/libpod/issues/5605.

Was this page helpful?
0 / 5 - 0 ratings