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

Re: [atomic-devel] ENV container oci



On 04/13/2017 09:21 AM, Frantisek Kluknavsky wrote:
> Hi,
>
> what is currently the recommended way for a process to know it runs in a
> container?
>
> RHEL-based containers define $container environment variable with a
> value 'docker'. Since this is both legally problematic and factually
> often incorrect, we want to change the value to 'oci'.
>
> An API-breaking change should not be done too often/needlessly. Any
> comments appreciated.
>
> Have a nice day,
>
> Fero
>
I think this is fine to change.  systemd is the only one that uses this
environment variable that I know of and it ignores the value, just
checks to see if $container is set.





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