Closed jwillmer closed 4 months ago
if the container is started with --restart unless-stopped
any error will cause a restart of the container which can be considered self recover
in my opinion
Good idea. Will do for now. But might not be the best for prolonged downtime.
For prolonged downtimes, the container could be stopped. Adding a logic here would require monitoring socat
which itself does not have built-in logic to retry a connection after it's been closed or reset.
I rewired my Waveshare RS485 only to find out that the docker container stopped working afterwards. Can we keep the container running and trying to reconnect / self recover?