참고
https://komodor.com/learn/how-to-fix-container-terminated-with-exit-code-1/
https://jhnyang.tistory.com/143
빌드 실패 트러블슈팅하면서 알게 된 내용 기록
Exit Code 1 indicates that a container shut down, either because of an application failure or because the image pointed to an invalid file. In a Unix/Linux operating system, when an application terminates with Exit Code 1, the operating system ends the process using Signal 7, known as SIGHUP.
리눅스에서는 프로세스끼리 서로 통신할 때 사용
→ 특정 프로세스가 다른 프로세스에게 메세지를 보낼 때 시그널 사용
SIGHUP이란?
Hang UP 약자(전화 끊어)
로그아웃과 같이 터미널에서 접속 끊겼을 때 보내지는 시그널
데몬 관련 환경 설정 파일을 변경시키고 변화된 내용을 적용하기 위해 재시작할 때 이 시그널 사용
// 4209 프로세스를 재시작
$ kill -HUB 4209