# Error response from daemon: Container

**URL:** <https://forum.rasa.com/t/error-response-from-daemon-container/13212>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [July 20, 2019, 10:32am UTC](https://forum.rasa.com/t/error-response-from-daemon-container/13212 "2019-07-20T10:32:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarthiAru](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/karthiaru/32/7163_2.png) [@KarthiAru](https://forum.rasa.com/u/KarthiAru)\
**Post date:** [July 20, 2019, 10:32am UTC](https://forum.rasa.com/t/error-response-from-daemon-container/13212/1 "2019-07-20T10:32:54Z")

</div>

Hi,

I’m getting the below error while trying to run `sudo python rasa_x_commands.py create --update admin me PASSWORD` on a Amazon lightsail instance, as mentioned in [Deploy to a Server](https://rasa.com/docs/rasa-x/deploy/)

```
WARNING: The DB_USER variable is not set. Defaulting to a blank string.
WARNING: The DB_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The DB_LOGIN_DB variable is not set. Defaulting to a blank string.
WARNING: The DB_DATABASE variable is not set. Defaulting to a blank string.
Error response from daemon: Container d7d12c892a8de595ebd97fd539a676bc93475aa0b8fa26c85f5ad89562e49635 is restarting, wait until the container is running
ERROR: __main__ :Failed to create user.

```

Status after running `sudo docker-compose up -d`

```
Creating rasa_rabbit_1 ... done
Creating rasa_db_1 ... done
Creating rasa_duckling_1 ... done
Creating rasa_rasa-x_1 ... done
Creating rasa_rasa-worker_1 ... done
Creating rasa_rasa-production_1 ... done
Creating rasa_app_1 ... done
Creating rasa_nginx_1 ... done
Creating rasa_logger_1 ... done

```

**Environment:**

- OS: Ubuntu 16.04.6 LTS
- Python: 3.6.8
- Docker: 18.09.7, build 2d0083d
- Docker-compose: 1.24.1, build 4667896b

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [July 23, 2019, 8:38am UTC](https://forum.rasa.com/t/error-response-from-daemon-container/13212/2 "2019-07-23T08:38:21Z")

</div>

Please set the environment variables `DB_USER`, `DB_PASSWORD`. You can so so by editing them in the `.env` file in `/etc/rasa`. E.g.

```auto
RASA_X_DEMO_VERSION=0.19.1
RASA_VERSION=1.1.4
CORE_SDK_VERSION=1.1.0
# runtime arguments
RASA_TOKEN=rasatoken
PASSWORD_SALT=saltysalt
JWT_SECRET=jwt
RASA_X_TOKEN=rasaxtoken
RABBITMQ_PASSWORD=password

DB_USER=admin
DB_PASSWORD=password

```

`DB_DATABASE` should already be set, same for `DB_LOGIN_DB`. Can you share your `docker-compose` file?

Sorry that this step is currently missing in the docs, will update that asap
