File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
environment/vm/lima/network/daemon/gvproxy Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 92
92
- name : Validate Docker
93
93
run : docker ps && docker info
94
94
95
+ - name : Validate DNS
96
+ run : colima ssh -- nslookup host.docker.internal
97
+
95
98
- name : Build Image
96
99
run : docker build integration
97
100
@@ -142,6 +145,9 @@ jobs:
142
145
- name : Build Image
143
146
run : docker build integration
144
147
148
+ - name : Validate DNS
149
+ run : colima ssh -- nslookup host.docker.internal
150
+
145
151
- name : Stop
146
152
run : colima stop
147
153
@@ -233,6 +239,9 @@ jobs:
233
239
- name : Validate Containerd
234
240
run : colima nerdctl ps && colima nerdctl info
235
241
242
+ - name : Validate DNS
243
+ run : colima ssh -- nslookup host.docker.internal
244
+
236
245
- name : Build Image
237
246
run : colima nerdctl -- build integration
238
247
Original file line number Diff line number Diff line change @@ -105,7 +105,21 @@ func configuration() types.Configuration {
105
105
DHCPStaticLeases : map [string ]string {
106
106
DeviceIP : MacAddress (),
107
107
},
108
- DNS : []types.Zone {},
108
+ DNS : []types.Zone {
109
+ {
110
+ Name : "internal." ,
111
+ Records : []types.Record {
112
+ {
113
+ Name : "host.docker" ,
114
+ IP : net .ParseIP ("192.168.5.2" ),
115
+ },
116
+ {
117
+ Name : "host.lima" ,
118
+ IP : net .ParseIP ("192.168.5.2" ),
119
+ },
120
+ },
121
+ },
122
+ },
109
123
DNSSearchDomains : searchDomains (),
110
124
NAT : map [string ]string {
111
125
natIP : "127.0.0.1" ,
You can’t perform that action at this time.
0 commit comments