# (optional) install kubectl sudo apt-get install -y kubectl
# upgrade the distro sudo apt-get upgrade -y sudo apt-get autoremove -y # install docker sudo apt-get install -y docker-ce containerd.io # update the package manager with the new repos sudo apt-get update
Sudo add-apt-repository 'deb $(lsb_release -cs ) stable' # (optional) add kubectl key and repoĮcho 'deb kubernetes-xenial main' | sudo tee /etc/apt//kubernetes.list Sudo usermod -aG docker $ # add Docker key and repo # create a group named docker and add yourself to it # so that we don't have to type sudo docker every time # note you will need to logout and login before this takes affect (which we do later) sudo groupadd docker Sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common libssl-dev libffi-dev git wget nano # update the package manager and install some prerequisites (all of these aren't technically required) sudo apt-get update