האם ./launcher destroy app && ./launcher start app יסיר את תמונת ה-Docker שנבנתה?

סיכום מבוסס בינה מלאכותית

A user, corot2a, is seeking clarification on whether running ./launcher destroy app && ./launcher start app will remove the built Docker image or just the container. NateDhaliwal shares a quote from Discourse suggesting that for SMTP settings changes, a full rebuild is not necessary. featheredtoast confirms that the commands will only remove and recreate the container, leaving the existing image intact.

שלום,

אני צריך לשנות את הגדרות ה-SMTP שלי ב-Discourse.

בדרך כלל, אני יודע שהרצת ./launcher rebuild app היא הדרך הסטנדרטית ליישם שינויי תצורה.

עם זאת, עקב מגבלות רשת ומגבלות גרסה, יש סיכוי גבוה ששחזור ייכשל בסביבה שלי. לכן, אני שוקל להשתמש ב:

./launcher destroy app && ./launcher start app

שאלתי היא:

אם אני מריץ את הפקודות הנ"ל, האם זה יסיר את תמונת ה-Docker שכבר נבנתה וידרוש בנייה מחדש מלאה?

או שזה רק יסיר וייצור מחדש את הקונטיינר תוך שמירה על התמונה הקיימת ללא שינוי?

תודה מראש על עזרתך!

Hi there, does this help?

To answer directly, yes, it’s this one - your built image is unaffected. The command is equivalent to a docker stop && docker rm, and it does not affect docker images at all.