{"id":808,"date":"2025-11-30T20:26:48","date_gmt":"2025-11-30T13:26:48","guid":{"rendered":"https:\/\/kazth.com\/log\/?p=808"},"modified":"2025-11-30T20:28:03","modified_gmt":"2025-11-30T13:28:03","slug":"docker-container-lifecycle","status":"publish","type":"post","link":"https:\/\/kazth.com\/log\/cloud-infra\/docker-container-lifecycle\/","title":{"rendered":"Docker Container Lifecycle : \u0e27\u0e07\u0e08\u0e23\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e02\u0e2d\u0e07 Container"},"content":{"rendered":"\n<p><a><\/a>\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Docker \u0e43\u0e2b\u0e49\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e20\u0e32\u0e1e \u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e21\u0e35\u0e41\u0e04\u0e48\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e23\u0e31\u0e19 Container \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19 \u0e41\u0e15\u0e48\u0e01\u0e32\u0e23\u0e23\u0e39\u0e49\u0e08\u0e31\u0e01 \u0e27\u0e07\u0e08\u0e23\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e02\u0e2d\u0e07 Container (Container Lifecycle) \u0e08\u0e30\u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e1a\u0e23\u0e34\u0e2b\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e1a\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e21\u0e37\u0e2d\u0e2d\u0e32\u0e0a\u0e35\u0e1e\u0e22\u0e34\u0e48\u0e07\u0e02\u0e36\u0e49\u0e19 <img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\u2728\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/tf4\/1\/16\/2728.png\"><\/p>\n\n\n\n<p>\u0e42\u0e1e\u0e2a\u0e15\u0e4c\u0e19\u0e35\u0e49\u0e08\u0e30\u0e2a\u0e23\u0e38\u0e1b\u0e17\u0e38\u0e01\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e08\u0e32\u0e01\u0e20\u0e32\u0e1e\u0e43\u0e2b\u0e49\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e07\u0e48\u0e32\u0e22 \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2b\u0e25\u0e31\u0e01\u0e17\u0e35\u0e48\u0e04\u0e27\u0e23\u0e23\u0e39\u0e49 <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0e27\u0e07\u0e08\u0e23\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e02\u0e2d\u0e07 Docker Container<\/h3>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\ud83e\uddea\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/t2d\/1\/16\/1f9ea.png\"> 1) Created<\/p>\n\n\n\n<p>\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker create<\/p>\n\n\n\n<p>\u0e2a\u0e23\u0e49\u0e32\u0e07 Container \u0e43\u0e2b\u0e21\u0e48\u0e08\u0e32\u0e01 Image \u0e41\u0e15\u0e48 \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e23\u0e34\u0e48\u0e21\u0e17\u0e33\u0e07\u0e32\u0e19<\/p>\n\n\n\n<p>\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 \u0e2b\u0e23\u0e37\u0e2d\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e23\u0e31\u0e19\u0e20\u0e32\u0e22\u0e2b\u0e25\u0e31\u0e07<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\ud83d\udd25\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/t50\/1\/16\/1f525.png\"> 2) Running<\/p>\n\n\n\n<p>\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker run<\/p>\n\n\n\n<p>\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19 Container \u0e17\u0e31\u0e19\u0e17\u0e35 \u2014 \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1a\u0e48\u0e2d\u0e22\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14<\/p>\n\n\n\n<p>\u0e40\u0e17\u0e35\u0e22\u0e1a\u0e07\u0e48\u0e32\u0e22 \u0e46: docker run = docker create + docker start<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\ud83e\uddca\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/tef\/1\/16\/1f9ca.png\"> 3) Paused<\/p>\n\n\n\n<p>\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker pause<\/p>\n\n\n\n<p>\u0e2b\u0e22\u0e38\u0e14\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 process \u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27 (\u0e41\u0e02\u0e27\u0e19\u0e44\u0e27\u0e49\u0e43\u0e19 RAM)<\/p>\n\n\n\n<p>\u0e01\u0e23\u0e13\u0e35\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 \u0e40\u0e0a\u0e48\u0e19 \u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2b\u0e22\u0e38\u0e14\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27\u0e42\u0e14\u0e22\u0e44\u0e21\u0e48\u0e1b\u0e34\u0e14\u0e41\u0e2d\u0e1b<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\ud83d\uded1\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/t9b\/1\/16\/1f6d1.png\"> 4) Stopped<\/p>\n\n\n\n<p>\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker stop<\/p>\n\n\n\n<p>\u0e2b\u0e22\u0e38\u0e14 Container \u0e41\u0e1a\u0e1a\u0e21\u0e35\u0e23\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e1a \u0e42\u0e14\u0e22\u0e2a\u0e48\u0e07\u0e2a\u0e31\u0e0d\u0e0d\u0e32\u0e13 SIGTERM<\/p>\n\n\n\n<p>\u0e43\u0e2b\u0e49\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e20\u0e32\u0e22\u0e43\u0e19\u0e1b\u0e34\u0e14\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\ud83d\uddd1\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/t5a\/1\/16\/1f5d1.png\"> 5) Deleted<\/p>\n\n\n\n<p>\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker rm<\/p>\n\n\n\n<p>\u0e25\u0e1a Container \u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e23\u0e30\u0e1a\u0e1a (\u0e15\u0e49\u0e2d\u0e07 stop \u0e01\u0e48\u0e2d\u0e19\u0e16\u0e36\u0e07\u0e08\u0e30\u0e25\u0e1a\u0e44\u0e14\u0e49)<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"16\" width=\"16\" alt=\"\ud83e\udde0\" src=\"https:\/\/static.xx.fbcdn.net\/images\/emoji.php\/v9\/t7c\/1\/16\/1f9e0.png\"> \u0e2a\u0e23\u0e38\u0e1b\u0e2a\u0e31\u0e49\u0e19 \u0e46 \u0e08\u0e33\u0e07\u0e48\u0e32\u0e22<\/p>\n\n\n\n<p>create \u2192 run \u2192 pause \u2192 stop \u2192 rm \u0e04\u0e37\u0e2d\u0e27\u0e07\u0e08\u0e23\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e2b\u0e25\u0e31\u0e01\u0e02\u0e2d\u0e07 Container<\/p>\n\n\n\n<p>\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08 lifecycle \u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49:<\/p>\n\n\n\n<p>\u0e1a\u0e23\u0e34\u0e2b\u0e32\u0e23\u0e17\u0e23\u0e31\u0e1e\u0e22\u0e32\u0e01\u0e23 server \u0e44\u0e14\u0e49\u0e14\u0e35\u0e02\u0e36\u0e49\u0e19<\/p>\n\n\n\n<p>\u0e2b\u0e25\u0e35\u0e01\u0e40\u0e25\u0e35\u0e48\u0e22\u0e07\u0e01\u0e32\u0e23 kill container \u0e42\u0e14\u0e22\u0e44\u0e21\u0e48\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19<\/p>\n\n\n\n<p>Debug \u0e41\u0e25\u0e30\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21 environment \u0e44\u0e14\u0e49\u0e07\u0e48\u0e32\u0e22\u0e02\u0e36\u0e49\u0e19<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"548\" data-id=\"809\" src=\"https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591717378_1368187495093682_748834794698200855_n.jpg\" alt=\"\" class=\"wp-image-809\" srcset=\"https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591717378_1368187495093682_748834794698200855_n.jpg 590w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591717378_1368187495093682_748834794698200855_n-300x279.jpg 300w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591717378_1368187495093682_748834794698200855_n-500x464.jpg 500w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/figure>\n<\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"272\" src=\"https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591299851_1368187658426999_5733642732284258539_n.jpg\" alt=\"\" class=\"wp-image-810\" style=\"width:883px;height:auto\" srcset=\"https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591299851_1368187658426999_5733642732284258539_n.jpg 590w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591299851_1368187658426999_5733642732284258539_n-300x138.jpg 300w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/11\/591299851_1368187658426999_5733642732284258539_n-500x231.jpg 500w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Docker \u0e43\u0e2b\u0e49\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e20\u0e32\u0e1e \u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e21\u0e35\u0e41\u0e04\u0e48\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e23\u0e31\u0e19 Container \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19 \u0e41\u0e15\u0e48\u0e01\u0e32\u0e23\u0e23\u0e39\u0e49\u0e08\u0e31\u0e01 \u0e27\u0e07\u0e08\u0e23\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e02\u0e2d\u0e07 Container (Container Lifecycle) \u0e08\u0e30\u0e0a\u0e48\u0e27\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e1a\u0e23\u0e34\u0e2b\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e1a\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e21\u0e37\u0e2d\u0e2d\u0e32\u0e0a\u0e35\u0e1e\u0e22\u0e34\u0e48\u0e07\u0e02\u0e36\u0e49\u0e19 \u0e42\u0e1e\u0e2a\u0e15\u0e4c\u0e19\u0e35\u0e49\u0e08\u0e30\u0e2a\u0e23\u0e38\u0e1b\u0e17\u0e38\u0e01\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e08\u0e32\u0e01\u0e20\u0e32\u0e1e\u0e43\u0e2b\u0e49\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e07\u0e48\u0e32\u0e22 \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e2b\u0e25\u0e31\u0e01\u0e17\u0e35\u0e48\u0e04\u0e27\u0e23\u0e23\u0e39\u0e49 \u0e27\u0e07\u0e08\u0e23\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e02\u0e2d\u0e07 Docker Container 1) Created \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker create \u0e2a\u0e23\u0e49\u0e32\u0e07 Container \u0e43\u0e2b\u0e21\u0e48\u0e08\u0e32\u0e01 Image \u0e41\u0e15\u0e48 \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e23\u0e34\u0e48\u0e21\u0e17\u0e33\u0e07\u0e32\u0e19 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 \u0e2b\u0e23\u0e37\u0e2d\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e23\u0e31\u0e19\u0e20\u0e32\u0e22\u0e2b\u0e25\u0e31\u0e07 2) Running \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker run \u0e2a\u0e23\u0e49\u0e32\u0e07\u0e41\u0e25\u0e30\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19 Container \u0e17\u0e31\u0e19\u0e17\u0e35 \u2014 \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1a\u0e48\u0e2d\u0e22\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14 \u0e40\u0e17\u0e35\u0e22\u0e1a\u0e07\u0e48\u0e32\u0e22 \u0e46: docker run = docker create + docker start 3) Paused \u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07: docker pause [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":809,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-infra"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/comments?post=808"}],"version-history":[{"count":3,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":813,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts\/808\/revisions\/813"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/media\/809"}],"wp:attachment":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}