Homec4science

installation: better Docker detection

Authored by Tibor Simko <tibor.simko@cern.ch> on Jun 8 2016, 14:25.

Description

installation: better Docker detection

  • Uses the presence of either /.dockerenv or /.dockerinit file to detect whether the web provisioning script runs inside the Docker container. (The /.dockerinit file was removed in recent Docker versions.)

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jun 8 2016, 14:41
Parents
R3600:43b74443db1b: docs: fix broken contributing links
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:a1886eab2d68: installation: better Docker detection (authored by Tibor Simko <tibor.simko@cern.ch>).Jun 8 2016, 14:41