发生错误:w0无法读取json文件时出错:使用docker-compose启动couchbase映像时无法解码JSON对象

时间:2017-11-13 10:09:37

标签: json docker docker-compose couchbase

我在docker-compose中使用基础版本为4.6.3的couchbase图像。但是我在启动docker-compose时遇到以下错误: -

couchbase_1   | SUCCESS: init/edit couchbase.docker
couchbase_1   | SUCCESS: set hostname for couchbase.docker
couchbase_1   | SUCCESS: bucket-create
couchbase_1   | ....2017-11-13 09:57:06,301: w0 Fail to read json file with error:No JSON object could be decoded
couchbase_1   | .
couchbase_1   | bucket: ., msgs transferred...
couchbase_1   |        :                total |       last |    per sec
couchbase_1   |  byte  :               251515 |     251515 |  3987233.9
couchbase_1   | done
couchbase_1   | /entrypoint.sh couchbase-server

1 个答案:

答案 0 :(得分:0)

使Json文件压缩单行解决了错误。