跳至内容
菜单
此问题已终结
2 回复
4946 查看

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




形象
丢弃
最佳答案

You must first download image postgres,

You can find here,

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

形象
丢弃
最佳答案

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"

形象
丢弃