# DockerでDiscourseの安定版をローカルにインストールするにはどうすればよいですか？

**URL:** https://meta.discourse.org/t/how-do-i-install-a-stable-version-of-discourse-on-docker-locally/190143
**Category:** Support
**Created:** [2021 年 5 月 12 日午前 5:34 UTC](https://meta.discourse.org/t/how-do-i-install-a-stable-version-of-discourse-on-docker-locally/190143 "2021-05-12T05:34:56Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![hyphalos](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hyphalos](https://meta.discourse.org/u/hyphalos)
#### Post date: [2021 年 5 月 13 日午前 2:02 UTC](https://meta.discourse.org/t/how-do-i-install-a-stable-version-of-discourse-on-docker-locally/190143/5 "2021-05-13T02:02:15Z")

</div>

@pfaffman さん、申し訳ありませんが、私はこの分野にまだ慣れていないため、質問が初歩的なものになるかもしれません。現在のデータベースに必須となる情報がなかったため、移行の必要はないと考えていました。しかし、

```
git checkout v2.6.6

```

を実行した後、データベースを再初期化しようとしたところ、上記のエラーが発生しました。データベースを削除して再作成するにはどうすればよいでしょうか？ガイドの「ノート」を参照して試してみましたが（[https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009）、どれも私の環境では機能しませんでした。](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009%EF%BC%89%E3%80%81%E3%81%A9%E3%82%8C%E3%82%82%E7%A7%81%E3%81%AE%E7%92%B0%E5%A2%83%E3%81%A7%E3%81%AF%E6%A9%9F%E8%83%BD%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%81%A7%E3%81%97%E3%81%9F%E3%80%82)

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-install-a-stable-version-of-discourse-on-docker-locally/190143)._
