I am using ubuntu 16.04 on google cloud and sometime there is a kernel is updated that happen automatically .
I use this server for docker and when the kernel is updated then the docker service stops because of that .
Is there a way to cause the extra to be installed automatically each time the kernel is updated ? and not run the command :
sudo apt-get -y install linux-image-extra-$(uname -r)
Best regards.