- Stick to even numbered major releases
- Don't use
:latest
tag - Start with Debian if migrating
- Use
stretch
notjessie
- Try
:slim
first, move to:alpine
later maybe :alipine
is small and security focused, it is not always the best solution: last yearnodemon
had an issue withalpine
only- Use
hunterloftis/stoppable
to gracefully handle each connection before stopping. - Test as close to production as possible