Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8874 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/

Ảnh đại diện
Huỷ bỏ
Tác giả

That was very useful. Many thanks

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 21
3633
0
thg 2 18
2860
3
thg 6 17
5719
0
thg 1 16
3713
2
thg 8 19
4386