Created
November 16, 2019 12:33
-
-
Save jorgeas80/175c72db8837537a065bb74b995785ee to your computer and use it in GitHub Desktop.
Script to install docker in ubuntu 19.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
CONTAINERD_VERSION="1.2.10-3" | |
DOCKER_CE_CLI_VERSION="19.03.3~3-0" | |
DOCKER_CE_VERSION="19.03.3~3-0" | |
echo "# DOWNLOAD THE DOCKER FILES" | |
wget "https://download.docker.com/linux/ubuntu/dists/disco/pool/stable/amd64/containerd.io_"$CONTAINERD_VERSION"_amd64.deb" | |
wget "https://download.docker.com/linux/ubuntu/dists/disco/pool/stable/amd64/docker-ce-cli_"$DOCKER_CE_CLI_VERSION"~ubuntu-disco_amd64.deb" | |
wget "https://download.docker.com/linux/ubuntu/dists/disco/pool/stable/amd64/docker-ce_"$DOCKER_CE_VERSION"~ubuntu-disco_amd64.deb" | |
echo "# INSTALL DOCKER DEPENDENCIES MANUALLY (NO UPDATES AFTER THIS)" | |
sudo dpkg -i "containerd.io_"$CONTAINERD_VERSION"_amd64.deb" | |
sudo dpkg -i "docker-ce-cli_"$DOCKER_CE_CLI_VERSION"~ubuntu-disco_amd64.deb" | |
sudo dpkg -i "docker-ce_"$DOCKER_CE_VERSION"~ubuntu-disco_amd64.deb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment