# Getting "config file was not found, ensure containers/.yml exists"

**URL:** https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684
**Category:** Support
**Created:** [16 januari 2019 om 11:27 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684 "2019-01-16T11:27:43Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![IbraheemH](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@IbraheemH](https://meta.discourse.org/u/IbraheemH)
#### Post date: [16 januari 2019 om 11:27 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/1 "2019-01-16T11:27:43Z")

</div>

Everything seemed fine the last time I checked, although I havn’t checked in some time.

Install was done following the official docs, on a DO server.

Rebooted server but same issue.

Tried to run ./launcher restart but get the following error:  
`Config file was not found, ensure containers/.yml exists`

Running ./launcher rebuild produces the same error.

---

<div class="post-metadata">

### Author: ![IbraheemH](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@IbraheemH](https://meta.discourse.org/u/IbraheemH)
#### Post date: [16 januari 2019 om 11:33 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/2 "2019-01-16T11:33:42Z")

</div>

Just noticed the file name of the `.yml` file should usually be `app.yml`? I checked the containers folder and the file is named `app.yml`.

Why is it trying to look for `.yml`?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16 januari 2019 om 11:41 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/3 "2019-01-16T11:41:09Z")

</div>

The command is

`./launcher rebuild app`

not

`./launcher rebuild`

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16 januari 2019 om 11:56 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/4 "2019-01-16T11:56:59Z")

</div>

@pfaffman it might be good to add an informative message in this case rather than looking for a blank `.yml` file.

---

<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: [16 januari 2019 om 14:16 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/5 "2019-01-16T14:16:32Z")

</div>

Well, I’m generally afraid of messing with launcher as it’s the only way to break every install on the planet. 😉

If you give launcher a file that doesn’t exist it suggests the ones that do. I’m surprised that it doesn’t do that with no argument.

My fears aside, I’ve got one fix to discourse-doctor on my list. I’ll try to add an argument check to launcher when u do that.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [17 januari 2019 om 01:23 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/6 "2019-01-17T01:23:41Z")

</div>

That’s true, do you think we can make a “filename exists” check here @tgxworld without breaking stuff?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [17 januari 2019 om 02:04 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/7 "2019-01-17T02:04:32Z")

</div>

Done in

[https://github.com/discourse/discourse\_docker/commit/f80e6a37a9d748f43047141b18986f6386444bc9](https://github.com/discourse/discourse_docker/commit/f80e6a37a9d748f43047141b18986f6386444bc9)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [17 januari 2019 om 02:11 UTC](https://meta.discourse.org/t/getting-config-file-was-not-found-ensure-containers-yml-exists/106684/8 "2019-01-17T02:11:32Z")

</div>


