From d53c95c2201516ed77749dbb5a1e08c0bbf1986d Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Thu, 29 Sep 2022 00:08:39 +0800 Subject: [PATCH] docs: use `-dt` in docker command --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 180c087..7bb0bed 100644 --- a/README.md +++ b/README.md @@ -338,7 +338,7 @@ shell> netstat -tlnpu | grep -E ":53|:80" ```bash # 运行ClearDNS容器 -shell> docker run -dit \ +shell> docker run -dt \ --restart always \ --name cleardns --hostname cleardns \ --volume /etc/cleardns/:/cleardns/ \ @@ -366,7 +366,7 @@ shell> netstat -tlnpu | grep -E ":53|:80|:4053|:5353|:6053" ```bash # 运行ClearDNS容器 -docker run -dit --network host \ +docker run -dt --network host \ --restart always \ --name cleardns --hostname cleardns \ --volume /etc/cleardns/:/cleardns/ \ @@ -428,7 +428,7 @@ shell> reboot ```bash # 运行ClearDNS容器 -shell> docker run -dit --network macvlan \ +shell> docker run -dt --network macvlan \ --restart always --privileged \ --name cleardns --host cleardns \ --volume /etc/cleardns/:/cleardns/ \