Open cgwalters opened 7 years ago
In https://github.com/projectatomic/oci-systemd-hook/issues/76 we talked about configuration a bit.
How about supporting configuration via labels? It feels really like a terrible hack to me to strcmp() the container's argv[0]. Something like:
strcmp()
argv[0]
LABEL org.projectatomic.systemd=yes ? Then we could have: LABEL org.projectatomic.systemd.journal=persistent too?
LABEL org.projectatomic.systemd=yes
LABEL org.projectatomic.systemd.journal=persistent
I would not want to change what we have now, since it would break existing containers, but adding the second label would be fine with me.
In https://github.com/projectatomic/oci-systemd-hook/issues/76 we talked about configuration a bit.
How about supporting configuration via labels? It feels really like a terrible hack to me to
strcmp()
the container'sargv[0]
. Something like:LABEL org.projectatomic.systemd=yes
? Then we could have:LABEL org.projectatomic.systemd.journal=persistent
too?