diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-07-31 12:24:56 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-07-31 12:24:56 -0500 |
commit | ca8c29ee60b0e8ca89091aaf801725bd71e28001 (patch) | |
tree | 5768ba42d9a516fe00f293c934f26f7db06069cf /sh/runit.sh | |
parent | f62253b8334a85dac4671e42817b96a3bedd1881 (diff) |
librc: fix Docker auto detection
The original auto detection of Docker containers assumed the presence of
a container environment variable. However, Docker-1.12 does not
implement this, and I'm not sure which versions of docker implemented
it.
The new test is for the presence of a file named .dockerenv in the
root directory.
Diffstat (limited to 'sh/runit.sh')
0 files changed, 0 insertions, 0 deletions