forked from JuanCrg90/Docker-Workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
38 lines (27 loc) · 972 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# Update SO
sudo apt-get update
# Install Linux Image Extra for Ubuntu 14.04
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
# Install using the repository
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
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"
# Install Docker
sudo apt-get update
sudo apt-get install -y docker-ce
sudo groupadd docker
sudo usermod -aG docker $(whoami)
sudo apt-get install -y python-pip
sudo pip install docker-compose
sudo docker pull hello-world
sudo docker pull ubuntu
sudo docker pull nginx
sudo docker pull wordpress
sudo docker pull mysql
sudo docker pull ghost
sudo docker pull node
sudo docker pull ruby
sudo docker pull postgres
sudo apt-get install -y python-pip
sudo pip install docker-compose