Skip to content

Commit 0e65e07

Browse files
committed
Add the section of network config file
1 parent 23d4e36 commit 0e65e07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

advanced_network/config_file.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## 编辑网络配置文件
2+
3+
Docker 1.2.0开始支持在运行中的容器里编辑`/etc/hosts`, `/etc/hostname``/etc/resolve.conf`文件。
4+
5+
但是这些修改是临时的,只在运行的容器中保留,容器终止或重启后并不会被保存下来。也不会被`docker commit`提交。

0 commit comments

Comments
 (0)