This function can run two routines: full docker installation
if the user doesn't have it or correct privilege setup if the user runs
docker with sudo. The first method fetches and runs the script located
at https://get.docker.com and the second only runs
sudo usermod -aG docker $USER
. For more information, see the "Getting
started" vignette.
kub_install_docker()
The path where docker was installed
To install docker, this function requires sudo privileges. To do that, it prompts the user for their password and maintains it until the end of execution. All commands run this way are printed to the console so the user can know everything that's happening.