-
Notifications
You must be signed in to change notification settings - Fork 0
/
concepts.fk
22 lines (16 loc) · 1.02 KB
/
concepts.fk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dockerfile: blueprint to build docker images. it contains all info for the image to be built
images: template to run docker containers
containers: a running process in an isolated environment. use the os of the host
volume: a shared folder on host computer with files that multiple containers can use to interact
docker: a platform for building, running and shipping applications
[-] 1 Process per container is preferable.
[+] Docker compose used to run multiple containers at the same time.
[+] A docker-compose.yml file used to specify all containers and volumes (configuration) used to run multiple procs.
[+] Docker destop has logs for debugging, cli for inspection of code.
[+] Each container has an unique id and is linked to an image.
[+] When multiple containers are used, kubernetes or swarm are used.
[+] Virtual Machines are slow and resource intensive.
Docker Architecture
- Client server model
- Server or Docker engine takes care of building docker containers
- Docker on mac uses a ightweight Linux VM to host containers