odoo / docker

Other
932 stars 1.52k forks source link

Docker run "crashed" after docker build: <Database connection failure> #405

Closed Lazatman closed 3 months ago

Lazatman commented 2 years ago

1°) After clonning github repository and enter to the folder doo15: https://github.com/odoo/docker/tree/master/15.0 2°) enter to the folder and build the Dockerfile sucha as: $ docker build -t odoo_i15:latest . 3°) After build run the docker image: $docker run odoo_i15 I get:

Database connection failure: could not translate host name "db" to address: Name or service not known

luna9722 commented 2 years ago

Hi, I'm facing the same problem, please tell me if you resolved it ?

Lazatman commented 2 years ago

Yes I reslove the problem by specifying docker network... And specified db_host and db_password when launching Odoo container

M-Shabbir0346 commented 1 year ago

Yes I reslove the problem by specifying docker network... And specified db_host and db_password when launching Odoo container

what are the ommand?

lathama commented 3 months ago

@Lazatman Can you close this issue if no longer needed?