์ฐธ๊ณ 

https://komodor.com/learn/how-to-fix-container-terminated-with-exit-code-1/

https://jhnyang.tistory.com/143

๋นŒ๋“œ ์‹คํŒจ ํŠธ๋Ÿฌ๋ธ”์ŠˆํŒ…ํ•˜๋ฉด์„œ ์•Œ๊ฒŒ ๋œ ๋‚ด์šฉ ๊ธฐ๋ก

What is Exit Code 1

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