# Docker Exits with code 1

**URL:** <https://forums.docker.com/t/docker-exits-with-code-1/53608>\
**Category:** General\
**Created:** [July 6, 2018, 9:38am UTC](https://forums.docker.com/t/docker-exits-with-code-1/53608 "2018-07-06T09:38:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrygank](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mrygank](https://forums.docker.com/u/mrygank)\
**Post date:** [July 6, 2018, 9:38am UTC](https://forums.docker.com/t/docker-exits-with-code-1/53608/1 "2018-07-06T09:38:32Z")

</div>

Hi,

I am new to Docker and i am not able to understand why my docker-compose keeps on crashing i have done the task of deleting the node\_modules and have also tried force recreate option but the docker exits with a code 1. There is another thing to note this does not happen always, sometime everything runs properly but as or when it crashes i have to keep trying to get it to run again for hours. Please shed some light i will be really thankful. Here are my system details

```
OS Version/build - Ubuntu Xenial 16.04 
App version - Docker version 18.03.1-ce
                       Docker-compose version 1.21.2, build a133471     

Steps to reproduce - run Docker-compose up
```
