启动器失败:第334行:忽略了NULL字节

在这种情况下,web_only 和 data 是分开的容器,web_only 容器的启动失败,并出现以下错误:

oot@docker2:/var/discourse# ./launcher start web_only
x86_64 arch detected.

starting up existing container
+ /usr/bin/docker start web_only
Error response from daemon: Cannot link to a non running container: /data AS /web_only/data
Error: failed to start containers: web_only

也许在这种情况下我需要通过 docker 手动启动,因为数据库是在另一台机器上的外部数据库,请参见 web_only yaml 中的这段代码:

 ## connect to central postgres database
  DISCOURSE_DB_SOCKET: ''
  DISCOURSE_DB_USERNAME: discourse
  DISCOURSE_DB_PASSWORD: xxxxxxxxxx
  DISCOURSE_DB_HOST: 10.10.xx.xx
  DISCOURSE_REDIS_HOST: data