# CC100 Docker Daemon Issues after Reboot

**URL:** <https://www.wago.community/t/cc100-docker-daemon-issues-after-reboot/739>\
**Category:** Hardware and Linux\
**Tags:** docker, linux, cc100\
**Created:** [January 9, 2024, 4:09pm UTC](https://www.wago.community/t/cc100-docker-daemon-issues-after-reboot/739 "2024-01-09T16:09:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![WagoThomas](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagothomas/32/292_2.png) [@WagoThomas](https://www.wago.community/u/WagoThomas)\
**Post date:** [August 14, 2024, 11:43am UTC](https://www.wago.community/t/cc100-docker-daemon-issues-after-reboot/739/4 "2024-08-14T11:43:51Z")

</div>

I had a problem like this on a couple of CC100s and fixed it by doing a quick and dirty SLEEP workaround in the docker startup script. I think docker ends up in a limbo mode if the boot isn’t clean and everything else on the CC100 tries to start up at the same time.

I modified `/etc/rc.d/S99_docker` and added `sleep 180` before it starts the daemon.

```auto
function do_docker_start()
{
    echo "configuring network..."
    firewall_hook_activate
    echo -n "starting docker daemon..."
    sleep 180
    start-stop-daemon -S --background --quiet --oknodo --pidfile $DOCKER_PIDFILE --exec /usr/bin/env PATH="/"$DOCKER_IPTABLES_PATH":$PATH" /usr/bin/dockerd -- #manipulate iptables-binary path!
}

```

After this I’ve never experienced the same problem again. The 180 seconds is just a random number I selected to be sure that everything else is done starting up.

---

_[View the full topic](https://www.wago.community/t/cc100-docker-daemon-issues-after-reboot/739)._
