Skip to content

Commit d03e537

Browse files
committed
Add install script
1 parent 8099b31 commit d03e537

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

setup.bash

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
sudo apt-get update
4+
5+
sudo apt-get install \
6+
apt-transport-https \
7+
ca-certificates \
8+
curl \
9+
gnupg-agent \
10+
software-properties-common
11+
12+
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
13+
14+
sudo apt-key fingerprint 0EBFCD88
15+
16+
sudo add-apt-repository \
17+
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
18+
$(lsb_release -cs) \
19+
stable"
20+
21+
sudo apt-get update
22+
23+
sudo apt-get install docker-ce docker-ce-cli containerd.io
24+
25+
sudo docker run hello-world

0 commit comments

Comments
 (0)