본문 바로가기
Error & Fix

Docker found character that cannot start any token 에러 해결방법

by wakestand 2023. 3. 2.
반응형
Recreating filebeat ... done
Attaching to filebeat
filebeat    | Exiting: error loading config file: yaml: line 12: found character that cannot start any token
filebeat exited with code 1

 

도커를 compose up 시키려고 하니

위와 같은 에러가 발생하는 것이 보이는데

 

내용은 docker-compose 파일에서

탭을 사용할 수 없는데 탭을 사용했거나 혹은 특수문자 등

잘못된 텍스트가 들어가 있을 경우 발생하게 되는데

 

해당 부분만 고쳐서 저장한 후

다시 compose up 시키면 에러가 해결된다

반응형

댓글