You have a remote server (Debian) running some Docker containers and you want to make sure that they all restart in the event of a kernel panick.
- Add an automatic restart after a kernel panick by running:
- Emulate a kernel panick by running the following (SysRq more info here :
1echo c > /proc/sysrq-trigger
- Check that the containers have restarted again with docker ps (NOTE: the containers should have been enabled to autorestart)