# 未能引导 web\_only - 无 cid 文件但完全是全新构建

**URL:** <https://meta.discourse.org/t/failed-to-bootstrap-web-only-no-cid-file-but-totally-fresh-build/84709>\
**Category:** Self-hosting\
**Tags:** two-container\
**Created:** [2018年四月6日 11:16 UTC](https://meta.discourse.org/t/failed-to-bootstrap-web-only-no-cid-file-but-totally-fresh-build/84709 "2018-04-06T11:16:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThriceGood](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@ThriceGood](https://meta.discourse.org/u/ThriceGood)\
**Post date:** [2018年四月6日 11:16 UTC](https://meta.discourse.org/t/failed-to-bootstrap-web-only-no-cid-file-but-totally-fresh-build/84709/1 "2018-04-06T11:16:03Z")

</div>

你好，

我正在首次构建 Discourse，使用的是 data.yml 和 web\_only.yml 配置文件。当前没有正在运行的容器，也从未运行过 web\_only 容器。data.yml 已成功完成引导，但 web\_only.yml 报错如下：

```
root@debian:/var/discourse# ./launcher bootstrap web_only
cd /pups && git pull && /pups/bin/pups --stdin
/usr/bin/docker: Error response from daemon: could not get container for data: No such container: data.
See '/usr/bin/docker run --help'.
cat: cids/web_only_bootstrap.cid: No such file or directory
"docker rm" requires at least 1 argument.
See 'docker rm --help'.

Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...] [flags]

Remove one or more containers
rm: cannot remove 'cids/web_only_bootstrap.cid': No such file or directory
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

它是否期望从之前运行过的 web\_only 容器中获取 cid 文件？

任何帮助都将不胜感激。  
谢谢

---

<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:** [2018年四月6日 12:38 UTC](https://meta.discourse.org/t/failed-to-bootstrap-web-only-no-cid-file-but-totally-fresh-build/84709/2 "2018-04-06T12:38:15Z")

</div>

You need to build the data container first.

---

<div class="post-metadata">

**Author:** ![ThriceGood](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@ThriceGood](https://meta.discourse.org/u/ThriceGood)\
**Post date:** [2018年四月6日 12:54 UTC](https://meta.discourse.org/t/failed-to-bootstrap-web-only-no-cid-file-but-totally-fresh-build/84709/3 "2018-04-06T12:54:28Z")

</div>

cheers, I already had the container built but not actually started. Once I started the container I could build the web\_only container.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:37 UTC](https://meta.discourse.org/t/failed-to-bootstrap-web-only-no-cid-file-but-totally-fresh-build/84709/4 "2024-06-08T12:37:36Z")

</div>

此主题已在 2255 天后自动关闭。不再允许回复。
