# Is it possible to pass custom environment variables to the docker container?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-pass-custom-environment-variables-to-the-docker-container/162795>\
**Category:** Self-hosting\
**Created:** [September 2, 2020, 12:20pm UTC](https://meta.discourse.org/t/is-it-possible-to-pass-custom-environment-variables-to-the-docker-container/162795 "2020-09-02T12:20:03Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [September 2, 2020, 6:02pm UTC](https://meta.discourse.org/t/is-it-possible-to-pass-custom-environment-variables-to-the-docker-container/162795/6 "2020-09-02T18:02:03Z")

</div>

So, I was crazy. This works fine. The issue was due to a multiline value. I removed it and the build suceeded. But the question is, how to use multiline values?

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-pass-custom-environment-variables-to-the-docker-container/162795)._
