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

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

Pull complete...

Digest :

Status : Downloaded newer image for odoo:latest

Error response from daemon: Could not get container for db




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

You must first download image postgres,

You can find here,

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

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

Are you sure that the container you try to link to (in this case named "db" exists ?)

You can check by running "docker ps -a"

Ảnh đại diện
Huỷ bỏ