It is not clear when the user should restart the machine during installation process. Maybe the script should just add this as a step. Informing the user this is going to happen. When a restart is not performed this results in unexplained errors when starting docker.