Skip to content

Commit ed95f5b

Browse files
chore : test
1 parent 8d76ac3 commit ed95f5b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci-main.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,22 @@ jobs:
217217
steps:
218218
- name: Debug -2
219219
run: |
220+
echo "--- Main Container's IP ---"
221+
ip a | grep 'inet ' | grep -v 127.0.0.1
222+
echo "--- Main Container's resolv.conf ---"
223+
cat /etc/resolv.conf
224+
echo "--- Ping dind-daemon by name ---"
225+
ping -c 3 dind-daemon || echo "Ping to dind-daemon failed"
226+
echo "--- Ping dind-daemon by IP (if known) ---"
227+
# Try to get the IP of dind-daemon from the host's perspective if possible
228+
# This is hard from within the container without mounting docker.sock
229+
# For now, just check name resolution.
230+
echo "--- Check DNS resolution of dind-daemon ---"
231+
getent hosts dind-daemon || echo "getent hosts dind-daemon failed"
232+
echo "--- Test connection to dind-daemon:2375 ---"
233+
# Use netcat or similar to test raw TCP connection
234+
apt-get update && apt-get install -y netcat-traditional # Install netcat if not present
235+
nc -zv dind-daemon 2375 || echo "Netcat connection to dind-daemon:2375 failed"
220236
cat /etc/os-release
221237
uname -a
222238
- name: Checkout

0 commit comments

Comments
 (0)