Browse Source

docs: use `-dt` in docker command

dev
Dnomd343 2 years ago
parent
commit
d53c95c220
  1. 6
      README.md

6
README.md

@ -338,7 +338,7 @@ shell> netstat -tlnpu | grep -E ":53|:80"
```bash ```bash
# 运行ClearDNS容器 # 运行ClearDNS容器
shell> docker run -dit \ shell> docker run -dt \
--restart always \ --restart always \
--name cleardns --hostname cleardns \ --name cleardns --hostname cleardns \
--volume /etc/cleardns/:/cleardns/ \ --volume /etc/cleardns/:/cleardns/ \
@ -366,7 +366,7 @@ shell> netstat -tlnpu | grep -E ":53|:80|:4053|:5353|:6053"
```bash ```bash
# 运行ClearDNS容器 # 运行ClearDNS容器
docker run -dit --network host \ docker run -dt --network host \
--restart always \ --restart always \
--name cleardns --hostname cleardns \ --name cleardns --hostname cleardns \
--volume /etc/cleardns/:/cleardns/ \ --volume /etc/cleardns/:/cleardns/ \
@ -428,7 +428,7 @@ shell> reboot
```bash ```bash
# 运行ClearDNS容器 # 运行ClearDNS容器
shell> docker run -dit --network macvlan \ shell> docker run -dt --network macvlan \
--restart always --privileged \ --restart always --privileged \
--name cleardns --host cleardns \ --name cleardns --host cleardns \
--volume /etc/cleardns/:/cleardns/ \ --volume /etc/cleardns/:/cleardns/ \

Loading…
Cancel
Save