Skip to content

cannot use icmp with IPv6 from docker image #1561

@solaristhesun

Description

@solaristhesun

Describe the bug

I cannot use icmp v6 from the gatus docker image. I think it must be a gatus problem. Docker issues are pretty much ruled out because I can do this:

root@syn5 /home/sts/docker/gatus # G_PID=$(docker inspect -f '{{.State.Pid}}' gatus)
root@syn5 /home/sts/docker/gatus # nsenter -t $G_PID -n ping -6 -c 4 2a02:c207:3019:1725::1
PING 2a02:c207:3019:1725::1 (2a02:c207:3019:1725::1) 56 data bytes
64 bytes from 2a02:c207:3019:1725::1: icmp_seq=1 ttl=59 time=1.71 ms
64 bytes from 2a02:c207:3019:1725::1: icmp_seq=2 ttl=59 time=0.856 ms
^C
--- 2a02:c207:3019:1725::1 ping statistics ---
3 packets transmitted, 2 received, 33.3333% packet loss, time 2015ms
rtt min/avg/max/mdev = 0.856/1.285/1.714/0.429 ms

What do you see?

Timestamp
2026-02-27 10:47:33
Response Time
0ms
Conditions

[CONNECTED] (false) == true

What do you expect to see?

I expect a success status.

List the steps that must be taken to reproduce this issue

endpoints:
  - name: "ping6"
    group: "fin1"
    url: "icmp://[2a02:c207:3019:1725::1]"
    interval: 60s
    conditions:
      - "[CONNECTED] == true"
    alerts:
      - type: telegram

Version

twinproduction/gatus:latest

Additional information

It also works, if I use a tcp check using IPv6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions