# Running Discourse docker image in the environment on Amazon EC2 Container Service

**URL:** <https://meta.discourse.org/t/running-discourse-docker-image-in-the-environment-on-amazon-ec2-container-service/65352>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [29 يونيو 2017، 7:28م UTC](https://meta.discourse.org/t/running-discourse-docker-image-in-the-environment-on-amazon-ec2-container-service/65352 "2017-06-29T19:28:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![golden\_eagle](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@golden\_eagle](https://meta.discourse.org/u/golden_eagle)\
**Post date:** [29 يونيو 2017، 7:28م UTC](https://meta.discourse.org/t/running-discourse-docker-image-in-the-environment-on-amazon-ec2-container-service/65352/1 "2017-06-29T19:28:33Z")

</div>

I have installed discourse. I have the docker image of discourse. Can anybody help me how to run Discourse docker image in the environment on Amazon EC2 Container Service?

I am getting few errors when I m trying to run the task. It’s getting stopped and giving me errors like this in my logs:

```
I, [2017-06-27T18:26:47.304367 #13] INFO -- : Loading --stdin
/pups/lib/pups/config.rb:23:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)
from /pups/lib/pups/cli.rb:27:in `new'
from /pups/lib/pups/cli.rb:27:in `run'
from /pups/bin/pups:8:in `<main>'

```

---

_[View the full topic](https://meta.discourse.org/t/running-discourse-docker-image-in-the-environment-on-amazon-ec2-container-service/65352)._
