์ฐธ๊ณ
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