Giter Club home page Giter Club logo

Comments (7)

bartekwojcicki avatar bartekwojcicki commented on May 21, 2024

Did you enter ip address of the virtual machine and port used by odoo in the browser?

 docker-machine ip default

from docker.

gagarine avatar gagarine commented on May 21, 2024

This is what I did:

Machine default already exists in VirtualBox.
Starting machine default...
Starting VM...

Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Setting environment variables for machine default...

                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ o           __/
             \    \         __/
              \____\_______/


docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com

bash-3.2$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo --name db postgres
bc6eaad46584637e8417da980d613943fa8a7c82a5b1caccf39c50ef16c06c95
bash-3.2$ docker run -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo
2015-09-10 16:16:39,742 1 INFO ? openerp: OpenERP version 8.0-20150401
2015-09-10 16:16:39,744 1 INFO ? openerp: addons paths: ['/var/lib/odoo/addons/8.0', u'/usr/lib/python2.7/dist-packages/openerp/addons', u'/mnt/extra-addons']
2015-09-10 16:16:39,744 1 INFO ? openerp: database hostname: localhost
2015-09-10 16:16:39,745 1 INFO ? openerp: database port: 5432
2015-09-10 16:16:39,746 1 INFO ? openerp: database user: odoo
2015-09-10 16:16:40,504 1 INFO ? openerp.service.server: Watching addons folder /var/lib/odoo/addons/8.0
2015-09-10 16:16:40,508 1 INFO ? openerp.service.server: Watching addons folder /usr/lib/python2.7/dist-packages/openerp/addons
2015-09-10 16:16:42,146 1 INFO ? openerp.service.server: Watching addons folder /mnt/extra-addons
2015-09-10 16:16:42,149 1 INFO ? openerp.service.server: AutoReload watcher running
2015-09-10 16:16:42,150 1 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

Then I tried to go on http://192.168.99.100:8069 from OSX but get no response.

Running docker-machine ip default give me this same IP.

bash-3.2$  docker-machine ip default
192.168.99.100

from docker.

md5 avatar md5 commented on May 21, 2024

You're mapping explicitly to localhost with -p 127.0.0.1:8069:8069. This means that the port is not accessible outside the container. You may want to try just -p 8069:8069.

from docker.

gagarine avatar gagarine commented on May 21, 2024

@md5 you right! Thanks a lot. Not sure if the documentation at https://hub.docker.com/_/odoo/ should be modified.

from docker.

gagarine avatar gagarine commented on May 21, 2024

I asked their docker-library/docs#338

from docker.

FlimFlam avatar FlimFlam commented on May 21, 2024

@md5 i love you

from docker.

md5 avatar md5 commented on May 21, 2024

@FlimFlam 🤘

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.