From 63208d999a7758dbb7e8213c467ab1b10c4c11c8 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Fri, 1 Sep 2023 21:46:27 +0800 Subject: [PATCH] docs: remove confusing curly braces, ref #11 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 667edda..75f355e 100644 --- a/README.md +++ b/README.md @@ -499,8 +499,8 @@ $ ip link set eth0 promisc on # 创建macvlan网络,按实际情况指定网络信息 $ docker network create -d macvlan \ - --subnet={IPv4网段} --gateway={IPv4网关} \ - --subnet={IPv6网段} --gateway={IPv6网关} \ # IPv6可选 + --subnet=IPv4网段 --gateway=IPv4网关 \ + --subnet=IPv6网段 --gateway=IPv6网关 \ # IPv6可选 --ipv6 -o parent=eth0 macvlan # 在eth0网卡上运行 ``` @@ -514,7 +514,7 @@ docker run -dt --network macvlan \ --volume /etc/cleardns/:/cleardns/ \ --volume /etc/timezone:/etc/timezone:ro \ --volume /etc/localtime:/etc/localtime:ro \ - --ip {IPv4地址} --ip6 {IPv6地址} \ + --ip IPv4地址 --ip6 IPv6地址 \ dnomd343/cleardns ``` @@ -536,8 +536,8 @@ services: - /etc/localtime:/etc/localtime:ro networks: macvlan: - ipv4_address: {IPv4地址} - ipv6_address: {IPv6地址} + ipv4_address: IPv4地址 + ipv6_address: IPv6地址 networks: macvlan: