kub_install_docker: Install docker for the current user

Description Usage Value Sudo References

View source: R/docker.R

Description

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.

Usage

1

Value

The path where docker was installed

Sudo

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.

References

https://docs.docker.com/install/linux/docker-ce/ubuntu/


curso-r/kuber documentation built on Sept. 30, 2019, 9:12 a.m.