# 运行 ./launcher cleanup 时出现可怕的警告消息

**URL:** <https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328>\
**Category:** Support\
**Created:** [2019年二月16日 16:15 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328 "2019-02-16T16:15:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigperformer](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@gigperformer](https://meta.discourse.org/u/gigperformer)\
**Post date:** [2019年二月16日 16:15 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/1 "2019-02-16T16:15:29Z")

</div>

I just have to point out that this warning message is **very** scary if one does not deeply understand how discourse works. At the very least, there should be a message above that basically mentions to what **This** refers so you know that it’s (probably) ok to continue!

> WARNING! This will remove:  
> - all stopped containers  
> - all networks not used by at least one container  
> - all images without at least one container associated to them  
> - all build cache  
> Are you sure you want to continue? [y/N] y

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2019年二月16日 18:07 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/2 "2019-02-16T18:07:26Z")

</div>

I have had the same reaction. It is hard to not worry that something terrible might happen, if you are not experienced. For example, if my container is not running for some reason will it delete my whole forum?

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2019年二月16日 18:29 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/3 "2019-02-16T18:29:07Z")

</div>

That message comes from [Docker](https://docs.docker.com/config/pruning/#prune-everything) and not from Discourse.

---

<div class="post-metadata">

**Author:** ![gigperformer](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@gigperformer](https://meta.discourse.org/u/gigperformer)\
**Post date:** [2019年二月24日 15:52 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/6 "2019-02-24T15:52:45Z")

</div>

But the action is being triggered as part of a Discourse upgrade so perhaps Discourse should still display a message to let one know what’s going on.

---

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2019年二月25日 00:31 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/7 "2019-02-25T00:31:14Z")

</div>

That message _should_ be scary IMO - the user may be running other containers or have other images which they may want.

We could perhaps add something like "If Discourse is the ONLY thing on this server, this is probably safe.

---

<div class="post-metadata">

**Author:** ![gigperformer](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@gigperformer](https://meta.discourse.org/u/gigperformer)\
**Post date:** [2019年二月25日 02:38 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/8 "2019-02-25T02:38:12Z")

</div>

Indeed – this is the problem of Discourse being the “forward facing” application. Even though the actual problems are elsewhere, users just know about Discourse so everything they see is attributed to Discourse.  
I have the same problem with an application I support - even though crashes are generally due to faulty 3rd party add-ons, it looks like our application broke so **we** have to be very clear as to what’s going on.  
Anything you can do to help the non-sophisticated user understand what’s going on will be much appreciated, I’m sure.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2022年三月24日 23:04 UTC](https://meta.discourse.org/t/scary-warning-message-when-running-launcher-cleanup/109328/9 "2022-03-24T23:04:23Z")

</div>


