Giter Club home page Giter Club logo

Comments (5)

amh-mw avatar amh-mw commented on September 25, 2024

Steps to Reproduce:

  1. Clone the official Odoo repository and navigate to the 17.0 directory.
  2. Build the Docker image with: docker build -t odoo17 .
  3. Run the Docker container for posgres docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:15
  4. Run the Docker container with: docker run -p 8069:8069 --name odoo --link db:db -t odoo17

From docker build --help

  -t, --tag stringArray               Name and optionally a tag (format: "name:tag")

From docker run --help

  -t, --tty                              Allocate a pseudo-TTY

Perhaps step four is doing something unexpected?

from docker.

MElkmeshi avatar MElkmeshi commented on September 25, 2024

image
it was in the docker offical docker image
and I tried without it and it didn't work
I think it's something wrong with the build command

from docker.

amh-mw avatar amh-mw commented on September 25, 2024

Why not just start with the publicly available odoo:17 image? It is easy enough to extend that image with a Dockerfile like:

FROM odoo:17
USER root
# customization
USER odoo

from docker.

MElkmeshi avatar MElkmeshi commented on September 25, 2024

I want to make my own image for odoo 17.2

from docker.

amh-mw avatar amh-mw commented on September 25, 2024

I want to make my own image for odoo 17.2

Makes perfect sense, but IMHO, you shouldn't have to. See #385.

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.