Node Source's Docker image of Ubuntu runs
apt-get upgrade, not
apt-get dist-upgrade, to install latest version of all packages.
apt-get dist-upgrade is considered a command to upgrade kernel related packages. In Docker container, kernel packages are not installed because host's kernel is used, and
apt-get upgrade looks enough.
However, man page of
dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages
According to this, other packages may require to run
apt-get dist-upgrade to install latest patch.
Are there such packages which requires
apt-get dist-upgrade in the current or past releases of Ubuntu?
If such packages exists, we need to run
dist-upgrade even in Docker container.