Create Database Container for Odoo 15 as shown below:
docker run -d -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_DB=postgres --name db postgres13.
We can make a special folder to hold the database data. This means that even if the container is removed, our Odoo data will be preserved for future use.
docker run -d -v odoo-db:/var/lib/postgresql/data -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password -e POSTGRES_DB=postgres --name db hunganhprox/postgres13
Content type
Image
Digest
Size
130.3 MB
Last updated
over 4 years ago
docker pull hunganhprox/postgres13