# Stopped for a few seconds with exit code 1

**URL:** <https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113>\
**Category:** Ignition\
**Tags:** docker\
**Created:** [August 19, 2023, 7:40pm UTC](https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113 "2023-08-19T19:40:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jannie\_Oosthuizen](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@Jannie\_Oosthuizen](https://forum.inductiveautomation.com/u/Jannie_Oosthuizen)\
**Post date:** [August 19, 2023, 7:40pm UTC](https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113/1 "2023-08-19T19:40:23Z")

</div>

Good day

Can not get Ignition Container to run, - I get a status message: Stopped for a few seconds with exit code 1

**Software used: Linux Debian 12, Docker and Portainer Community v2.18**

I pulled the Igninion container successfully to docker but it fails to "Play". It starts then fail after a view seconds.  
If I lookin status of Portainer , The status shows "Stopped for a few seconds with exit code 1"  
I tried on two PC's and on both PC's I can not get the container running.  
Any suggestion, very welcome !

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [August 19, 2023, 10:32pm UTC](https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113/2 "2023-08-19T22:32:14Z")

</div>

How exactly do you run it ?

---

<div class="post-metadata">

**Author:** ![Jannie\_Oosthuizen](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@Jannie\_Oosthuizen](https://forum.inductiveautomation.com/u/Jannie_Oosthuizen)\
**Post date:** [August 20, 2023, 10:06am UTC](https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113/3 "2023-08-20T10:06:28Z")

</div>

Hi Pascal, Thx for the quick response !

I used the same method that I pulled a NodeRed Image

**For Node Red I used-**  
I pulled the image via command -  
docker run -it -p 1880:1880 -v node\_red\_data:/data --name mynodered nodered/node-red  
After that I just press Play in Portainer (And it works)

_For Ïgnition I used_  
I pulled the image via command-  
docker run -d -p 9088:8088 --name ignition-test inductiveautomation/ignition:8.1.30 \ -n docker-test -a localhost -h 9088 -s 9043  
After that I just press Play in Portainer (Its is strating but does not go to healthy)

**Question**

1. Is environment variable configurability nececary to be able to work?
2. I did saw some examples on internet for Docker compose but not for Portainer Stacks ?

Note: I am relative new to docker and may miss someting stupid.

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [August 22, 2023, 6:31pm UTC](https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113/4 "2023-08-22T18:31:01Z")

</div>

If you're running your Docker command under Windows via Powershell or Windows Command Prompt, the newline delimiter is not the same.

 ![2023-08-22 at 1.30 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/a/7a8b0ee3ea9e492c7bc8d9d7a1b18787e6c9d60b.png)

I'm wondering if that `\` might be causing trouble for you.

At this point, try the following:

```auto
docker stop ignition-test
docker rm ignition-test
docker run -d -p 9088:8088 --name ignition-test -v ignition-test-data:/usr/local/bin/ignition/data inductiveautomation/ignition:8.1.31 -n ignition-test

```

---

<div class="post-metadata">

**Author:** ![Jannie\_Oosthuizen](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@Jannie\_Oosthuizen](https://forum.inductiveautomation.com/u/Jannie_Oosthuizen)\
**Post date:** [August 23, 2023, 1:16pm UTC](https://forum.inductiveautomation.com/t/stopped-for-a-few-seconds-with-exit-code-1/78113/5 "2023-08-23T13:16:35Z")

</div>

Thanks Collins  
It worked !!  
Maybe it should be noted on the Docker page ( the issue with the / )

Regards
