هل سيؤدي ./launcher destroy app && ./launcher start app إلى إزالة صورة Docker المبنية؟

Hi,

I need to change my SMTP settings in Discourse.

Normally, I know that running ./launcher rebuild app is the standard way to apply configuration changes.

However, due to network restrictions and version limitations, there is a high chance that a rebuild will fail in my environment. Therefore, I am considering using:

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

My question is:

If I run the above commands, will it remove the already built Docker image and require a full rebuild?

Or will it just remove and recreate the container while keeping the existing image intact?

Thanks in advance for your help!

إعجاب واحد (1)

Hi there, does this help?

إعجابَين (2)

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.

إعجابَين (2)