If you’re on DigitalOcean : you can upgrade some programs on your droplet by typing these commands :
sudo apt-get update
Press enter, after few seconds, type :
sudo apt-get upgrade
You should have a Y/n message, type Y
Then you’ll have to reboot your server :
shutdown -h now
And then in DigitalOcean, Power On your server, and Docker, and others programs should be updated.
Maybe you’ll have to rebuild your app, but I think it’ll fix your problem.