Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 473 Bytes
#!/bin/bash
# install required packages
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
# install Docker repository key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# add Docker repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
# update package list
sudo apt-get update
# install Docker
sudo apt-get install -y docker-ce
You can’t perform that action at this time.