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.
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?
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.