diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2018-03-23 09:28:45 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-23 15:22:01 +0000 |
commit | 5fc5b4eacb924a597611fe44dcb8e79a7f0b59ac (patch) | |
tree | 526b52743c29e0766c87127a7e401e5ecd0bd986 /docs/podman-run.1.md | |
parent | 75f9fdf21ca7d2002c226222e6f839e28c4361dd (diff) | |
download | podman-5fc5b4eacb924a597611fe44dcb8e79a7f0b59ac.tar.gz podman-5fc5b4eacb924a597611fe44dcb8e79a7f0b59ac.tar.bz2 podman-5fc5b4eacb924a597611fe44dcb8e79a7f0b59ac.zip |
Document .containerenv in manpages. Move it to /run.
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Closes: #533
Approved by: baude
Diffstat (limited to 'docs/podman-run.1.md')
-rw-r--r-- | docs/podman-run.1.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index edd7ed681..c1183e910 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -21,6 +21,14 @@ If the IMAGE is not already loaded then **podman run** will pull the IMAGE, and all image dependencies, from the repository in the same way running **podman pull** IMAGE, before it starts the container from that image. +Several files will be automatically created within the container when it is run. +These include `/etc/hosts`, `/etc/hostname`, and `/etc/resolv.conf` to manage +networking. These will be based on the host's version of the files, though they +can be customized with options (for example, **--dns** will override the host's +DNS servers in the created `resolv.conf`). Additionally, an empty file is +created in each container to indicate to programs they are running in a +container. This file is located at `/run/.containerenv`. + ## OPTIONS **--add-host**=[] Add a custom host-to-IP mapping (host:ip) |