# إزالة صورة Docker أثناء إعادة بناء التطبيق

**URL:** <https://meta.discourse.org/t/docker-image-remove-while-rebuilding-app/286169>\
**Category:** Self-hosting\
**Created:** [21 نوفمبر 2023، 6:24ص UTC](https://meta.discourse.org/t/docker-image-remove-while-rebuilding-app/286169 "2023-11-21T06:24:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [26 نوفمبر 2023، 3:01ص UTC](https://meta.discourse.org/t/docker-image-remove-while-rebuilding-app/286169/6 "2023-11-26T03:01:27Z")

</div>

ما المشكلة التي تحاول حلها؟ هل لديك مساحة قرص صغيرة جدًا لبناء حاوية دون حذف القديمة؟ هذا خطير، لأنه إذا حدث خطأ ما، فستكون في مأزق.

لا يمكنك القيام بذلك في المشغل لأن تلك الأوامر يتم تنفيذها داخل الحاوية. يمكنك القيام بذلك في برنامج نصي shell يقوم بذلك ويشغل المشغل.

---

_[View the full topic](https://meta.discourse.org/t/docker-image-remove-while-rebuilding-app/286169)._
