Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
发生的事情真的很奇怪。我检查了几次。我有一个 docker 映像正在将 yml 文件复制/添加到容器中。此 yml 文件有尾随行。我添加了三个空行来确定。
如果我去容器并做一只猫,那些尾随线就不再在这里了。导致以下错误:
YAML Error: Stream does not end with newline character YAML_PARSE_ERR_NO_FINAL_NEWLINE