Linking problems between two containers

I seem to be having the same issue as this: IP address given to container is not routable in bridge mode
Except that I’m using Docker for Windows.

The other container can ping 172.17.0.2, but the host cannot.
No form of host name in the ping seems to work from the other container though:

docker exec myapi ping myredis
ping: unknown host

docker exec myapi ping redis
ping: unknown host

docker exec myapi ping 2e412fe79e02
ping: unknown host