[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [atomic-devel] Using docker run -ti for interactive INSTALL?
- From: Jonathan Lebon <jlebon redhat com>
- To: Jan Pazdziora <jpazdziora redhat com>
- Cc: atomic-devel projectatomic io
- Subject: Re: [atomic-devel] Using docker run -ti for interactive INSTALL?
- Date: Thu, 3 Mar 2016 11:49:18 -0500 (EST)
----- Original Message -----
> Alternatively atomic could add support for something like
> ${INTERACTIVE} in the INSTALL / RUN / UNINSTALL which would expand to
> -ti when stdin exists and is tty, but to empty string when not.
>
> What do you guys recommend?
I like that idea the most. Then, the image creator can
choose themselves whether (1) their image needs a tty to
function (add '-ti' to LABEL, error out if not in tty mode),
or (2) their image doesn't need a tty to function (no '-ti',
never error out), or (3), their image could make use of a
tty but does not need it ($INTERACTIVE).
Of course, you'd also need a --no-tty option or something in
the atomic cli so that you can override INTERACTIVE in cases
where you *do* have a terminal (or maybe the reverse of
that, which I think is what you suggested).
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]