Skip to content

Commit 17962cb

Browse files
committed
- -又变成了列表
1 parent 25bfdbd commit 17962cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Solutions/Other-Docker-Note.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ OPTIONS说明:
146146
+ -P: 随机端口映射,容器内部端口随机映射到主机的端
147147
+ -p: 指定端口映射,格式为:主机(宿主)端口:容器端
148148
+ -t: 为容器重新分配一个伪输入终端,通常与 -i 同时使用
149-
+ - -name="nginx-lb": 为容器指定一个名称
149+
+ ––name="nginx-lb": 为容器指定一个名称
150150
+ --dns 8.8.8.8: 指定容器使用的DNS服务器,默认和宿主一致
151151
+ --dns-search example.com: 指定容器DNS搜索域名,默认和宿主一致
152152
+ -h "mars": 指定容器的hostname

0 commit comments

Comments
 (0)