-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
52 lines (27 loc) · 1.35 KB
/
README
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
39
40
41
42
43
44
45
46
47
48
49
50
INSTALL DOCKER
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
echo -e "\ndeb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get -y install docker-ce docker-compose
sudo usermod -aG docker $USER
/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/
DOCKER COMMANDS
Start and build containers
$ docker-compose up --build
Start containers
$ docker-compose up
Stop Containers
$ docker-compose down
Delete all containers
$ docker system prune -a
/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/-*-/
LINKS
https://computingforgeeks.com/install-docker-and-docker-compose-on-linux-mint-19/
https://gist.github.com/sethbergman/9ef9d14aef86ba7705791785ed377f69
https://www.hiroom2.com/2018/08/06/linuxmint-19-docker-en/
https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes
https://medium.com/jundevelopers/ambiente-de-desenvolvimento-php-com-docker-parte-1-ide-php-banco-de-dados-9459a147073c
https://medium.com/@danilolutz/ambiente-de-desenvolvimento-php-com-docker-parte-2-qualidade-de-c%C3%B3digo-git-4ca9c5cbfc6c
https://onebitcode.com/o-que-e-e-como-funciona-o-rancher/