Upgrade failed because Docker out of date

Sometimes security updates can’t be installed with

apt-get upgrade

then you can use

apt-get dist-upgrade

btw: reboot works easylier with

shutdown -r now