You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
379 B
19 lines
379 B
#!/bin/bash
|
|
#
|
|
|
|
echo "Installing docker.."
|
|
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
|
|
|
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
|
|
|
sudo apt-get update
|
|
|
|
apt-cache policy docker-ce
|
|
|
|
sudo apt-get install -y docker-ce
|
|
|
|
|
|
sudo usermod -aG docker ${USER}
|
|
|
|
sudo systemctl status docker
|