mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add small doc
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
fc39f9c78d
commit
26feb09fac
1 changed files with 11 additions and 0 deletions
|
@ -731,3 +731,14 @@ usual containers. But unless you have very specific networking needs
|
||||||
that drive you to such a solution, it is probably far preferable to use
|
that drive you to such a solution, it is probably far preferable to use
|
||||||
`--icc=false` to lock down inter-container communication, as we explored
|
`--icc=false` to lock down inter-container communication, as we explored
|
||||||
earlier.
|
earlier.
|
||||||
|
|
||||||
|
## Editing networking config files
|
||||||
|
|
||||||
|
Starting with Docker v.1.2.0, you can now edit `/etc/hosts`, `/etc/hostname`
|
||||||
|
and `/etc/resolve.conf` in a running container. This is useful if you need
|
||||||
|
to install bind or other services that might override one of those files.
|
||||||
|
|
||||||
|
Note, however, that changes to these files will not be saved by
|
||||||
|
`docker commit`, nor will they be saved during `docker run`.
|
||||||
|
That means they won't be saved in the image, nor will they persist when a
|
||||||
|
container is restarted; they will only "stick" in a running container.
|
||||||
|
|
Loading…
Add table
Reference in a new issue