What is Docker?
- Docker is a standard for Linux containers
- A Container is an isolated runtime inside of Linux
- A Container provides a private machine like space under Linux
- Containers will run any modern Linux Kernel
Containers
- Have their own process space
- Their own network interface
- 'Run' processes as root (inside the container)
- Have their own disk space
- can share host too
A container is not a VM:
Virtual Machines
- Each virtual machine will have its own Guest OS
- Virtual Machines is just a virtual piece of hardware, the hypervisor is making it seem that it a physical hardware
- Lots of overhead with that:
- Guest OS takes lots of resources as they have to share the limited resources from the Infrastructure
Containers
- Containers there is no Guest OS
- They are running off the operating system off the host machine
d