From e41a76bf8199558cc4c4c8bf856a65c0dea8c079 Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Wed, 5 Oct 2016 16:02:13 -0700 Subject: [PATCH] Fix for table in reference/run --- engine/reference/run.md | 34 ++++++---------------------------- 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/engine/reference/run.md b/engine/reference/run.md index 5c5ca5f576..2be54ea8eb 100644 --- a/engine/reference/run.md +++ b/engine/reference/run.md @@ -1368,34 +1368,12 @@ it will provide a named alias for the container being linked to. When a new container is created, Docker will set the following environment variables automatically: - - - - - - - - - - - - - - - - - - - - -
VariableValue
HOME - Set based on the value of USER -
HOSTNAME - The hostname associated with the container -
PATH - Includes popular directories, such as :
- /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -
TERMxterm if the container is allocated a pseudo-TTY
+| Variable | Value | +| -------- | ----- | +| `HOME` | Set based on the value of `USER` | +| `HOSTNAME` | The hostname associated with the container | +| `PATH` | Includes popular directories, such as `:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin` | +| `TERM` | `xterm` if the container is allocated a pseudo-TTY | Additionally, the operator can **set any environment variable** in the container by using one or more `-e` flags, even overriding those mentioned