Docker version 18.03.0-ce, build 0520e24
Hi everyone, I’m having trouble accessing one service from inside another by its name.
Here is the docker-compose.yml:
scraper has the code that is trying to reach rest:8081 and is failing.
Before it was solved using links but they got deprecated.
I tried creating custom network which didn’t help.
Addition: I ran
ping rest inside scraper and it returns
ping: unknown host rest
but then it pings some internal IP address.