![PG::ConnectionBad (could not translate host name "db" to address: Name or service not knownが出た際の対処 - Qiita PG::ConnectionBad (could not translate host name "db" to address: Name or service not knownが出た際の対処 - Qiita](https://qiita-user-contents.imgix.net/https%3A%2F%2Fcdn.qiita.com%2Fassets%2Fpublic%2Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png?ixlib=rb-4.0.0&w=1200&mark64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZ0eHQ9UEclM0ElM0FDb25uZWN0aW9uQmFkJTIwJTI4Y291bGQlMjBub3QlMjB0cmFuc2xhdGUlMjBob3N0JTIwbmFtZSUyMCUyMmRiJTIyJTIwdG8lMjBhZGRyZXNzJTNBJTIwTmFtZSUyMG9yJTIwc2VydmljZSUyMG5vdCUyMGtub3duJUUzJTgxJThDJUU1JTg3JUJBJUUzJTgxJTlGJUU5JTlBJTlCJUUzJTgxJUFFJUU1JUFGJUJFJUU1JTg3JUE2JnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmdHh0LWNsaXA9ZWxsaXBzaXMmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz1mODc5MjU5Y2M2OGRhMzVkNDFjY2FjZmRiMWM4ZmYyNw&mark-x=142&mark-y=112&blend64=aHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQweW91OCZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9NDIyNDgzOTU0NDkxMDExNGM3NmVmNGYyODVjNzg4OTA&blend-x=142&blend-y=491&blend-mode=normal&s=8889c6eedb22e5e7c2f2a0359abd0528)
PG::ConnectionBad (could not translate host name "db" to address: Name or service not knownが出た際の対処 - Qiita
![How to map local postgres 5432 port to dpage/pgadmin4 container? - General Discussions - Docker Community Forums How to map local postgres 5432 port to dpage/pgadmin4 container? - General Discussions - Docker Community Forums](https://global.discourse-cdn.com/docker/optimized/3X/6/2/62e3eeb94f322550bfbb45c53831a5a82a6b1eb8_2_690x251.png)
How to map local postgres 5432 port to dpage/pgadmin4 container? - General Discussions - Docker Community Forums
could not translate host name "$POSTGRES_HOST" to address: Name does not resolve · Issue #41 · docker-taiga/taiga · GitHub
could not translate host name "postgres" to address: nodename nor servname provided, or not known · Issue #4 · instructure/lti_tool_provider_example · GitHub
php pdoexception sqlstate 08006 could not translate host name "firefly_iii_db" to address: Name or service not known · Issue #1838 · firefly-iii/firefly-iii · GitHub
psql: could not translate host name "db" to address: Name or service not known · Issue #1 · archerysec/jenkins_blog · GitHub
could not translate host name "postgres" to address: nodename nor servname provided, or not known · Issue #4 · instructure/lti_tool_provider_example · GitHub
![Docker: error could not translate host name to address: Name or service not known in psql : r/docker Docker: error could not translate host name to address: Name or service not known in psql : r/docker](https://external-preview.redd.it/bHeH0gzfTsWscOLs-DoUNfEw6bm5_70uF43oaWxaJPk.jpg?auto=webp&s=decb4a32944aa40b0f6070d4a4b4b0ad9126175a)
Docker: error could not translate host name to address: Name or service not known in psql : r/docker
could not translate host name "postgres" to address: nodename nor servname provided, or not known · Issue #4 · instructure/lti_tool_provider_example · GitHub
could not translate host name "postgres" to address: nodename nor servname provided, or not known · Issue #4 · instructure/lti_tool_provider_example · GitHub
![Create a new server for postgres from pgadmin. hostname error - Docker Desktop for Mac - Docker Community Forums Create a new server for postgres from pgadmin. hostname error - Docker Desktop for Mac - Docker Community Forums](https://global.discourse-cdn.com/docker/original/3X/5/6/56935c3a11e445eb37bf2d6505bd721f875f3553.png)
Create a new server for postgres from pgadmin. hostname error - Docker Desktop for Mac - Docker Community Forums
PG::ConnectionBad: could not translate host name "db" to address: Name or service not known · Issue #13890 · mastodon/mastodon · GitHub
![Django : can't debug django app in VS Code with docker database: 'could not translate host name "db" - YouTube Django : can't debug django app in VS Code with docker database: 'could not translate host name "db" - YouTube](https://i.ytimg.com/vi/bx7P8qKoMhw/mqdefault.jpg)
Django : can't debug django app in VS Code with docker database: 'could not translate host name "db" - YouTube
![python - Could not translate host name "db" to address using Postgres, Docker Compose and Psycopg2 - Stack Overflow python - Could not translate host name "db" to address using Postgres, Docker Compose and Psycopg2 - Stack Overflow](https://lh6.googleusercontent.com/-TL0LILj5IGo/AAAAAAAAAAI/AAAAAAAAAAc/CsiRgUFH6ro/photo.jpg?sz=64)
python - Could not translate host name "db" to address using Postgres, Docker Compose and Psycopg2 - Stack Overflow
![postgresql - Rails on Docker: ActiveRecord::ConnectionNotEstablished: could not translate host name to address: Try again - Stack Overflow postgresql - Rails on Docker: ActiveRecord::ConnectionNotEstablished: could not translate host name to address: Try again - Stack Overflow](https://i.stack.imgur.com/Yl19l.png)