From 0e65e07e3db037f6e1b0327696011ce2dac1e646 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Thu, 18 Sep 2014 17:38:42 +0800 Subject: [PATCH] Add the section of network config file --- advanced_network/config_file.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 advanced_network/config_file.md diff --git a/advanced_network/config_file.md b/advanced_network/config_file.md new file mode 100644 index 0000000..08df447 --- /dev/null +++ b/advanced_network/config_file.md @@ -0,0 +1,5 @@ +## 编辑网络配置文件 + +Docker 1.2.0开始支持在运行中的容器里编辑`/etc/hosts`, `/etc/hostname`和`/etc/resolve.conf`文件。 + +但是这些修改是临时的,只在运行的容器中保留,容器终止或重启后并不会被保存下来。也不会被`docker commit`提交。