How to remove discourse website

This CMS is a very good, but a lot of things modified. As difficult installation, modification, and so the addition of a plugin and etc.

I want uninstall my discourse website? Which command do I have to write for that?

I’m not sure what you are asking? Are you looking to wipe the content of the forum?

rm -r /var/discourse

Will delete Discourse and all backups and everything. I’m not clear why not just shut down the droplet, though.

After
rm -r /var/discourse

site down.

500 Internal Server Error
If you are the administrator of this website, then please read this web application’s log file and/or the web server’s log file to find out what went wrong.

I want remove delete discourse cms from my website. How delete docker and discourse?

Edit: I just checked, and if you installed Docker with the http://get.docker.com’s script and are running Ubuntu,

apt-get purge docker-engine

should remove docker. You’ll probably need to reboot to make sure all docker processes get killed.

In short: whatever you did to get Discourse running, do the reverse of that.

If you want to completely remove discourse:

  1. List you local docker images from the host: docker images
  2. Find the discourse image. It should look something like
    REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
    discourse/discourse   1.3.10              95332d4db04b        5 weeks ago         1.52GB
    
  3. Remove the image: docker image rm discourse/discourse:1.3.10. Remember to use the exact same name and version your docker output showed you.
  4. Remove the location you cloned the discourse. If you followed the installation instructions, it should be /var/discourse, so rm -r /var/discourse should do it.
  5. [optional]. If you don’t need docker anymore, remove it from your machine.

とても良いコマンドですね。私も同じことを考えていました。

2 つの小さな点について:

メッセージ「Unable to remove repository reference “image name” (must force) container iccfa6e6d14b is using its referenced image 654a4f02e531」を受け取りました。

  1. このイメージの使用をどのように停止すればよいでしょうか?Droplet をオフにしても、コンソールは機能しません。

  2. Docker は、基盤となる Ubuntu Server OS とは別物ですか?

ありがとうございます。

ドロプレットを削除すると、Discourse も一緒に消えてしまうので、この話は無意味になりますが……

画像を削除する前に、

docker stop app

または

. /launcher stop app

を実行する必要があります。

ありがとうございます。
ただし、2 番目の質問にもぜひお答えいただければと思います。これはおそらく一行で答えられる内容だと思われます。

この答えを探すために約 1 時間グーグル検索しました。
また、このトピックに関するメタディスカッション全体も読みました:こちら

しかし、理解できませんでした。
私の混乱を再度述べさせていただきます:
Ubuntu OS があり、その上に通常の Docker インストールがある。そしてその Docker 環境内で Discourse Docker が実行されているのか?
それとも、単に Ubuntu Server OS があって、その中に Discourse Docker がインストール・実行されているだけなのか?
あるいは、「Discourse Docker」という名称ではなく、別の呼び方があるのか?

追伸:こちらの長いトピックの投稿からも理解しようと試みましたが、私の疑問には完全に答えてくれませんでした(ほぼ答えてはいましたが、完全にではありませんでした)。

はい。OS として Ubuntu を使用し、その上に Docker というアプリケーションをインストールし、さらにその Docker 上で Discourse を実行しています。

Docker を使用すると、アプリケーションをコンテナ(簡略化すれば軽量な仮想マシンと考えるとわかりやすいです)内で分離して実行できるようになり、OS を混乱させることなく複数のアプリケーションを実行できます。

Docker のデータコンテナ(おそらく web_only も)を削除しましたが、データコンテナを再インストールまたは再作成すると、同じ管理者/ユーザー(および設定)が表示されてしまいます。

Discourse をクリーンな状態から再インストールしたいのですが、そのために Docker をアンインストールする必要がありますか?それとも /var/discourse フォルダ全体を削除する必要がありますか?

Discourse の設定、ユーザー、管理者、投稿などをすべて削除できる単一のフォルダや場所というのは存在しないのでしょうか?

よろしくお願いいたします。

rm -rf /var/discourse/shared

その後、再構築してください。デフォルトでは、永続ボリュームはそこに保存されます。