mirror of https://github.com/docker/docs.git
Fix for table in reference/run
This commit is contained in:
parent
790dbb4cf4
commit
e41a76bf81
|
@ -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
|
When a new container is created, Docker will set the following environment
|
||||||
variables automatically:
|
variables automatically:
|
||||||
|
|
||||||
<table>
|
| Variable | Value |
|
||||||
<tr>
|
| -------- | ----- |
|
||||||
<th>Variable</th>
|
| `HOME` | Set based on the value of `USER` |
|
||||||
<th>Value</th>
|
| `HOSTNAME` | The hostname associated with the container |
|
||||||
</tr>
|
| `PATH` | Includes popular directories, such as `:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin` |
|
||||||
<tr>
|
| `TERM` | `xterm` if the container is allocated a pseudo-TTY |
|
||||||
<td><code>HOME</code></td>
|
|
||||||
<td>
|
|
||||||
Set based on the value of <code>USER</code>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><code>HOSTNAME</code></td>
|
|
||||||
<td>
|
|
||||||
The hostname associated with the container
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><code>PATH</code></td>
|
|
||||||
<td>
|
|
||||||
Includes popular directories, such as :<br>
|
|
||||||
<code>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</code>
|
|
||||||
</td>
|
|
||||||
<tr>
|
|
||||||
<td><code>TERM</code></td>
|
|
||||||
<td><code>xterm</code> if the container is allocated a pseudo-TTY</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
Additionally, the operator can **set any environment variable** in the
|
Additionally, the operator can **set any environment variable** in the
|
||||||
container by using one or more `-e` flags, even overriding those mentioned
|
container by using one or more `-e` flags, even overriding those mentioned
|
||||||
|
|
Loading…
Reference in New Issue