desktop-linux
desktop-linux copied to clipboard
Redis not connecting from backend.
- [x] I have tried with the latest version of Docker Desktop
- [x] I have tried disabling enabled experimental features
- [ ] I have uploaded Diagnostics
- Diagnostics ID:
Expected behavior
Without docker desktop it is working fine it connected to backend passing this in compose file environment:REDIS_URL: redis.
Actual behavior
Got this error when docker desktop running Error: getaddrinfo ENOTFOUND redis at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'redis' }
Information
- Linux distro: 20.04 LTS
- Distro version: Ubuntu
- Docker Desktop Version: 4.9.1
Steps to reproduce the behavior
- Using node.js application on node 16
- There is 2 container one for redis and other for backend.
- without docker desktop it is working fine.
- Using with docker compose version: "3.9"
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 30 days.
Prevent issues from auto-closing with a /lifecycle frozen comment.
/lifecycle stale
There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 30 days.
Prevent issues from auto-closing with a /lifecycle frozen comment.
/lifecycle stale