Update install-docker.sh
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
# Add Docker's official GPG key:
|
||||
sudo apt-get update
|
||||
sudo apt-get install ca-certificates curl
|
||||
sudo apt upgrade -y
|
||||
sudo apt autoremove --purge -y
|
||||
sudo apt-get install -y apt-utils ca-certificates curl build-essential wget iputils-ping dnsutils net-tools bash-completion qemu-guest-agent open-vm-tools gcc make nfs-common netcat-traditional tzdata
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
@@ -14,4 +16,8 @@ echo \
|
||||
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
sudo apt-get update
|
||||
|
||||
sudo apt-get install bash-completion docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
|
||||
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
|
||||
|
||||
# launch
|
||||
sudo systemctl enable --now docker qemu-guest-agent
|
||||
sudo usermod -aG docker $(whoami)
|
||||
Reference in New Issue
Block a user