How can i forward ICMP Requests to container

I’m building an ICMP listener with python and i’m using docker as a container of the script, i wondering how can i forward icmp traffic from host to container ?

I’m also having this problem, I reckon it should be possible to route packets from the host to the docker0 interface, then to the container’s eth0 interfac via veth*?