Open rossthom opened 8 months ago
hi,
it worked normal for me, did you run this one before ? : $ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:15
mh, I'll need to find some time to retry. I don't remember whether I used this exact command line.
@rossthom to update the Overview listed on Docker Hub you can create a PR editing the file https://github.com/docker-library/docs/blob/master/odoo/content.md
I am updating the content.md for some other issues and this is next in my queue. Brainstorming on how to word this here.
Start a PostgreSQL server
$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:15
Start an Odoo instance
$ docker run -p 8069:8069 --name odoo --link db:db -t odoo
Start a network where the container names in the network are populated in `/etc/hosts`
$ docker network create my-odoo-network
Start a PostgreSQL server
$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db --net=my-odoo-network postgres:15
Start an Odoo instance
$ docker run -p 8069:8069 --name odoo --net=my-odoo-network -t odoo
I am updating the content.md for some other issues and this is next in my queue. Brainstorming on how to word this here.
Please open a pull request and I'll be happy to review there.
I want to run Odoo 16 from docker following the instructions written on the README file. When executing the command line on § 'Start an Odoo instance':
$ docker run -p 8069:8069 --name odoo --link db:db -t odoo
, I get the following docker error:the --link flag is deprecated : https://docs.docker.com/network/links/ The command line needs to be updated on the documentation.