for biz_wacore_1无法启动服务wacore:OCI运行时创建失败:container_linux.go:345:正在启动

时间:2019-05-21 12:40:42

标签: docker docker-compose whatsapp

我试图提取whatsapp核心的映像并在linux机器的docker中运行它们,我提供docker-compose.yml代码

**

  

对于biz_wacore_1无法启动服务wacore:OCI运行时创建失败:container_linux.go:345:启动容器进程导致“ exec:\” / opt / whatsapp / bin / wait_on_postgres.sh \”:stat / opt / whatsapp / bin /wait_on_postgres.sh:没有这样的文件或目录

**是我遇到的错误

尝试使用docker-compose up与sudo命令 我的docker-compose.yml中的代码

服务:

wacore:
image: docker.whatsapp.biz/coreapp:v2.19.4
command: ["/opt/whatsapp/bin/wait_on_postgres.sh", "/opt/whatsapp/bin/launch_within_docker.sh"]
volumes:
 - whatsappMedia:/usr/local/wamedia
env_file:
  - db.env
environment:
  # This is the version of the docker templates being used to run WhatsApp Business API
  WA_RUNNING_ENV_VERSION: v2.2.3
  ORCHESTRATION: DOCKER-COMPOSE
depends_on:
  - "db"
network_mode: bridge
links:
  - db


waweb:
image: docker.whatsapp.biz/web:v2.19.4
command: ["/opt/whatsapp/bin/wait_on_postgres.sh", "/opt/whatsapp/bin/launch_within_docker.sh"]
ports:
 - "9090:443"
volumes:
 - whatsappMedia:/usr/local/wamedia
env_file:
  - db.env
environment:
  WACORE_HOSTNAME: wacore
  # This is the version of the docker templates being used to run WhatsApp Business API
  WA_RUNNING_ENV_VERSION: v2.2.3
  ORCHESTRATION: DOCKER-COMPOSE
depends_on:
  - "db"
  - "wacore"
links:
  - db
  - wacore
network_mode: bridge

0 个答案:

没有答案