Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8884 มุมมอง

I tried to run Odoo v8 docker.

If I add the container id, it runs but does not provide port number. If I enter the port number as follows:

docker run d69ffe949669 -p 127.0.0.1:8069:8069 --name odoo --link
db:db -t odoo

it says:

openerp-server: error: no such option: -p

if I run the entire command without the container id, it runs Odoo v9

Please help me to start Odoo v8

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I think that this ID d69ffe949669 is the id of images,

but, you don't need pass the id there, because you are using -t odoo

try this,

docker run -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo

if the container odoo already exists you got something like this,

Error response from daemon: Conflict. The name "odoo" is already in use by container ID_CONTAINER. You have to delete (or rename) that container to be able to reuse that name.

you can find information  here,

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

อวตาร
ละทิ้ง
ผู้เขียน

That was very useful. Many thanks

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 21
3639
0
ก.พ. 18
2860
3
มิ.ย. 17
5720
0
ม.ค. 16
3718
2
ส.ค. 19
4388