mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 06:28:56 +00:00
Add the section of network config file
This commit is contained in:
parent
23d4e36c64
commit
0e65e07e3d
5
advanced_network/config_file.md
Normal file
5
advanced_network/config_file.md
Normal file
@ -0,0 +1,5 @@
|
||||
## 编辑网络配置文件
|
||||
|
||||
Docker 1.2.0开始支持在运行中的容器里编辑`/etc/hosts`, `/etc/hostname`和`/etc/resolve.conf`文件。
|
||||
|
||||
但是这些修改是临时的,只在运行的容器中保留,容器终止或重启后并不会被保存下来。也不会被`docker commit`提交。
|
Loading…
Reference in New Issue
Block a user