一、故障现象 ERROR: yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot start any token 二、解决方法 我们在编写docker-compose文件时由于格式问题容易出现报错,如把tab键当成空格键来使用。使用cat -A 命令即可显示文件中的tab键,显示成^I