Error response from daemon.....container is restarting

hello , I can connect the raspberry Pi to the resin io system and download the docker container with a simple hello world c++ app.
I don’t understand why in the terminal console window I see there is an infinite loop keep saying that " error response from daemon…container is restarting"

do you know what can I do to make the terminal working ?


your device probably does not have a running container. If your application stops, then your container will stop. For this reason we have built an init system into most of the resin base images.

You can enable the init system in your application by adding the following variable in your Dockerfile:

You can read more in our docs here:
and here:


Hello Ilias, thank you for your suggestion.