openerp - Odoo example with docker compose no work -


this oficial odoo file docker-compose example:

version: '2' services:   web:     image: odoo:10.0     depends_on:       - db     ports:       - "8069:8069"     volumes:       - odoo-web-data:/var/lib/odoo       - ./config:/etc/odoo       - ./addons:/mnt/extra-addons   db:     image: postgres:9.4     environment:       - postgres_password=odoo       - postgres_user=odoo       - pgdata=/var/lib/postgresql/data/pgdata     volumes:       - odoo-db-data:/var/lib/postgresql/data/pgdata volumes:   odoo-web-data:   odoo-db-data: 

when run 'docker-compose -d' output next error:

error: test2_db_1  cannot start service db: failed create endpoint test2_db_1 on network test2_default: failed add host (veth95f6516) <=> sandbox (veth4949623) pair interfaces: operation not supported  error: db  cannot start service db: failed create endpoint test2_db_1 on network test2_default: failed add host (veth95f6516) <=> sandbox (veth4949623) pair interfaces: operation not supported error: encountered errors while bringing project. 

the docker-compose.yml file within test2 directory.

this odoo docker docs: https://hub.docker.com/_/odoo/

what can happening?

thanks!

whenever see errors related veth interfaces, means docker service has gone in state network allocation doesn't work

error: test2_db_1  cannot start service db: failed create endpoint test2_db_1 on network test2_default: failed add host (veth95f6516) <=> sandbox (veth4949623) pair interfaces: operation not supported  error: db  cannot start service db: failed create endpoint test2_db_1 on network test2_default: failed add host (veth95f6516) <=> sandbox (veth4949623) pair interfaces: operation not supported error: encountered errors while bringing project. 

you should restart docker service in such cases. if doesn't restart whole system


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -