aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2021-06-26 21:30:05 -0700
committerArthur She <arthur.she@linaro.org>2021-06-26 21:30:05 -0700
commit3d516b9c44ddfadc6bd1051f4be07efe8186c090 (patch)
treef5e5daebda28ee33fb989550840f7dae30d12dc8
parent61c7ec962c21e01bbea3f46c69b8df0481833afd (diff)
Solve DNS doesn't work in the container issueHEADmaster
Signed-off-by: Arthur She <arthur.she@linaro.org>
-rw-r--r--docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 0562f03..c79723b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,6 +14,7 @@ services:
hostname: lab-slave-0
privileged: true
restart: always
+ dns: 8.8.8.8
ports:
- 69:69/udp
- 61950-62000:61950-62000
@@ -35,6 +36,7 @@ services:
context: master1
hostname: master1
restart: always
+ dns: 8.8.8.8
ports:
- 8080:80
- 5555:5555