# Trying to run docker container in aws. Having these errors

**URL:** <https://meta.discourse.org/t/trying-to-run-docker-container-in-aws-having-these-errors/65223>\
**Category:** Self-hosting\
**Created:** [Junho 27, 2017, 7:26pm UTC](https://meta.discourse.org/t/trying-to-run-docker-container-in-aws-having-these-errors/65223 "2017-06-27T19:26:21Z")\
**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:** [Junho 27, 2017, 7:26pm UTC](https://meta.discourse.org/t/trying-to-run-docker-container-in-aws-having-these-errors/65223/1 "2017-06-27T19:26:21Z")

</div>

ERROR 1 on one task:

Already up-to-date.

```plaintext
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>'

```

ERROR 2 on other task

```plaintext
2017/06/27 19:05:01 [emerg] 1#1: host not found in upstream "discourse" in /etc/nginx/nginx.conf:35
nginx: [emerg] host not found in upstream "discourse" in /etc/nginx/nginx.conf:35

```

Any idea why I m getting this errors?

---

_[View the full topic](https://meta.discourse.org/t/trying-to-run-docker-container-in-aws-having-these-errors/65223)._
