with Docker? • Let’s get started with Docker! • The facts of Docker (containers, namespaces…etc) • Demo Time — WordPress ( NginX + PHP + MySQL) • Something More……
a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in. Blah Blah Blah ~~~~
Bare Metal Couple Days A few hours 15 Minutes 1 Minute Virtual Machine A few minutes A few minutes A few seconds In a minute Docker In seconds In seconds In seconds In seconds
of your whole system • Each pid namespace has its own PID #1 • pid namespaces are nested • A process can have multiple PIDs • Different pid namespaces can’t effect others
• Network Interfaces ( and its own localhost ) • IP address • Routing Table • iptables • How to communicate between containers? • UNIX domain sockets • Pairs of Virtual Network interfaces
only for sync I/O • Account • Number of I/Os, bytes, service time • Drawback: same as Limit • Isolation • Same as Limit Cgroup isn’t best solution of limiting I/O
X and Windows(beta) ) • Docker Compose ( used to be “ Fig ” ) • Docker Machine ( A Machine tweaked for Docker ) • Docker Swarm ( Host Clustering and Container Management ) • Docker Registry ( Registry Server )
Container, pack it, deploy it on the target Server Remember don’t pack your PERSONAL DATA!!!! • Link your Container together even they are on different Server • Run VPN, Remote Desktop…etc.