fix: add dns
This commit is contained in:
parent
49c7030e1d
commit
ceed676b94
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
- name: Start Docker daemon
|
||||
run: |
|
||||
dockerd --host=unix:///var/run/docker.sock --iptables=false > /tmp/dockerd.log 2>&1 &
|
||||
dockerd --host=unix:///var/run/docker.sock --iptables=false --dns=8.8.8.8 --dns=8.8.4.4 > /tmp/dockerd.log 2>&1 &
|
||||
for i in $(seq 1 30); do
|
||||
sleep 2
|
||||
docker info > /dev/null 2>&1 && echo "Docker daemon ready" && exit 0
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: Start Docker daemon
|
||||
run: |
|
||||
dockerd --host=unix:///var/run/docker.sock --iptables=false > /tmp/dockerd.log 2>&1 &
|
||||
dockerd --host=unix:///var/run/docker.sock --iptables=false --dns=8.8.8.8 --dns=8.8.4.4 > /tmp/dockerd.log 2>&1 &
|
||||
for i in $(seq 1 30); do
|
||||
sleep 2
|
||||
docker info > /dev/null 2>&1 && echo "Docker daemon ready" && exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue