Upgrade fail unsupported Docker Version

You can’t upgrade.

I would move to a new vm and restore the database there. It’s easier, had little down time, and if something goes wrong, you just keep using the working server.