# Docker/Kubernetes：启动器的位置

**URL:** <https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026>\
**Category:** Support\
**Tags:** unsupported-install\
**Created:** [2019年六月21日 22:03 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026 "2019-06-21T22:03:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![technik](https://avatars.discourse-cdn.com/v4/letter/t/3bc359/32.png) [@technik](https://meta.discourse.org/u/technik)\
**Post date:** [2019年六月21日 22:03 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/1 "2019-06-21T22:03:15Z")

</div>

Hi,

I am trying to deploy the discourse base image into a kubernetes cluster.  
The build of the base image works but obviously the CMD part that should start the launcher is missing.

I already tried to search the launcher on /var/discourse, but I am unable to find it (root looks like a normal ubuntu root directory..).  
Does anyone know where the launcher is located within the docker base image?

Thank you for your support 🙂

LG

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2019年六月21日 22:15 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/2 "2019-06-21T22:15:56Z")

</div>

> [@technik](#):
>
> I am trying to deploy the discourse base image into a kubernetes cluster.

You can’t. You’ll need to create a custom image that has a little more stuff in it than the base image includes. For some hints on what you’ll need to do, see [Can Discourse ship frequent Docker images that do not need to be bootstrapped?](https://meta.discourse.org/t/can-discourse-ship-frequent-docker-images-that-do-not-need-to-be-bootstrapped/33205) for starters.

I’m working on the same problem and hope to have a solution (that solves my specific set of problems) in the next month. I won’t share it here because it’ll be a support nightmare that meta is not designed to handle. At some point I will consider making those images available, but only when I’m sure that meta won’t be flooded with support requests.

---

<div class="post-metadata">

**Author:** ![aaugusti](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aaugusti](https://meta.discourse.org/u/aaugusti)\
**Post date:** [2019年八月1日 20:24 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/3 "2019-08-01T20:24:53Z")

</div>

@pfaffman，解决这个问题的进展如何？还有其他技巧吗？我正准备亲自深入这个难题。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2019年八月1日 20:28 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/4 "2019-08-01T20:28:03Z")

</div>

我想我已经弄清楚是怎么回事了，不过我还没有将其自动化。我手头还有其他几件事，导致进度稍微推迟了一些。如果你有预算，我很乐意提供帮助。你可以私信我，或者查看我个人资料中的联系方式。

---

<div class="post-metadata">

**Author:** ![aaugusti](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@aaugusti](https://meta.discourse.org/u/aaugusti)\
**Post date:** [2019年八月1日 20:42 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/5 "2019-08-01T20:42:59Z")

</div>

@technik，基础镜像部署到 Kubernetes 上了吗？有什么经验或问题想分享吗？

---

<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:** [2023年二月4日 07:53 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/6 "2023-02-04T07:53:29Z")

</div>



---

<div class="post-metadata">

**Author:** ![bquast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bquast/32/289307_2.png) [@bquast](https://meta.discourse.org/u/bquast)\
**Post date:** [2023年二月4日 15:22 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/7 "2023-02-04T15:22:51Z")

</div>

这非常有趣，我很想了解更多关于这方面的信息。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2023年二月4日 18:06 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/8 "2023-02-04T18:06:22Z")

</div>

要是我先来，我可能就关了。 🙂

有什么有意思的？你想了解什么，为什么？

Kubernetes（几乎可以肯定，虽然不由我决定）永远不会得到支持。这周我正在帮助一个需要 k8s 部署方面帮助的人。如果你有预算，欢迎联系我。

---

<div class="post-metadata">

**Author:** ![bquast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bquast/32/289307_2.png) [@bquast](https://meta.discourse.org/u/bquast)\
**Post date:** [2023年二月4日 18:30 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/9 "2023-02-04T18:30:28Z")

</div>

我很想了解它的每一个部分。

同意，它可能永远不会得到支持，我也不期望得到支持。Discord 团队已经提供了很棒的东西，我不会期望他们提供更多支持。

但这也正是论坛的优点所在，我们可以交流知识，互相支持，否则这将困难得多。

我非常喜欢 Discourse，而且 IMO 解决像“从头开始”部署之类的问题是更多地了解一个系统的不错方式。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2023年二月4日 18:48 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/10 "2023-02-04T18:48:55Z")

</div>

> [@bquast](#):
>
> 我很想了解它的每一个部分。

总的来说，如果你想用 k8s 来运行 Discourse，你会从一个普通的双容器安装开始（或者查看关于使用外部数据库的主题），用 launcher 构建一个镜像，然后将该镜像推送到一个仓库。你可以使用 `./launcher start-cmd web_only` 来查看你需要传递给容器以使其工作的环境变量。

如果你有具体问题，可以开一个新帖。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2023年二月4日 18:48 UTC](https://meta.discourse.org/t/docker-kubernetes-location-of-launcher/121026/11 "2023-02-04T18:48:59Z")

</div>


