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.

非常好的命令。我也在思考它们。

两个小问题:
我收到了消息:“无法移除仓库引用 ‘镜像名称’(必须强制),容器 iccfa6e6d14b 正在使用其引用的镜像 654a4f02e531。”

  1. 我们如何停止使用该镜像?如果我们关闭了 Droplet,控制台将无法工作。

  2. Docker 是否与底层的 Ubuntu Server 操作系统是分开的?

谢谢。

如果您销毁了 Droplet,Discourse 也会随之消失,因此这一切都不再重要,但……

我认为在删除镜像之前,您需要先执行

docker stop app

. /launcher stop app

再次感谢。
但我希望您也能回答我的第二个问题,我相信这几乎只需要一行答案。

我花了大约一个小时在谷歌上搜索这个答案。
我还阅读了 meta 上关于此主题的整个讨论,在这里

但我仍然无法理解。
我可以重复我的困惑:
情况是这样的吗:
有 Ubuntu 操作系统,然后在它上面有一个普通的 Docker 安装。
而在那个 Docker 安装中运行着 Discourse Docker?
还是说只是 Ubuntu Server 操作系统,而 Discourse Docker 直接安装/运行在其中?
或者它不叫“Discourse Docker”,而是别的什么名称?

附注:我也尝试通过 这个长篇主题 帖子来理解同样的问题。但它仅仅差一点就能解答我的疑问(几乎做到了,但终究没有)。

是的。你的操作系统是 Ubuntu,然后在操作系统中安装了 Docker 应用程序,而 Discourse 运行在 Docker 之上。

Docker 使得在容器中隔离应用程序成为可能(我们可以将其简化为轻量级虚拟机),你可以在其中运行多个应用程序而不会弄乱操作系统。

我删除了 Docker 数据容器(可能还有 web_only 容器),但即使重新安装/重新创建数据容器,相同的管理员/用户(和设置)仍然会出现。

我想从头开始全新安装 Discourse。为此我是否必须卸载 Docker?还是删除整个 /var/discourse 文件夹?

难道没有一个单独的文件夹或位置存储其数据,删除它就能清除所有 Discourse 设置、用户、管理员和帖子吗?

谢谢。

rm -rf /var/discourse/shared

然后重新构建。默认情况下,持久卷就存储在那里。