我正在尝试使用以下指南在 Windows 环境下在 Docker 上设置 Redash:
但是当我到达以下步骤时:
docker-compose run --rm server create_db
我收到此错误:
ERROR: yaml.constructor.ConstructorError: while constructing a mapping in ".\docker-compose.yml", line 1, column 1
expected a mapping or list of mappings for merging, but found scalar in ".\docker-compose.yml", line 2, column 19
前两行在 docker-compose.yml 中配置如下:
1: version: ‘2’
2: x-redash-service: &redash-service
第 2 行中的第 19 列是“&”。
这个错误的根源可能是什么?