Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.91 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.91 KB

container.training

Slides and code samples for training, tutorials about containers.

Target Audience

The target audience for this tutorial is someone learning containers.

Slides

Docker slides

Containers are superior

Containers are superior to conventional deployment mechanism in that they are:

  1. Isolated:
  • Applications have their own libraries, no conflicts will arise from different libraries in other applications. Docker uses a technology called namespaces to provide the isolated workspace called the container. When you run a container, Docker creates a set of namespaces for that container.
  1. Limited (can set limits on CPU/memory):
  • Applications may not hog resources from other applications.Docker Engine on Linux also relies on another technology called control groups (cgroups). A cgroup limits an application to a specific set of resources. Control groups allow Docker Engine to share available hardware resources to containers and optionally enforce limits and constraints.
  1. Portable:
  • Container contains everything it needs, not tied to an OS or Cloud.
  1. Lightweight:
  • The kernel is shared making it much smaller and faster than a full OS image.

Install Docker

Labs

For fun

docker run -it --rm jess/hollywood