[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic] "LABEL install/uninstall" guidelines



Are there any examples of unit files?  Because I have been getting strange errors, unless I run the exec command manually.  https://access.redhat.com/discussions/2884061



On Mon, Feb 6, 2017 at 3:47 PM, Ken Dreyer <kdreyer redhat com> wrote:
Are there any guidelines or policies for what to put in the "install"
or "uninstall" labels in my Dockerfiles? Can images basically do
whatever they want in those scripts?

I see examples where the install script sets up systemd unit files -
is that the pattern these install shell scripts should always follow?

I also saw an example where an image provides "LABEL install" but no
"LABEL uninstall". Is that bad?

- Ken



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]