Agenda ● Docker Basics? ○ What is Docker? ○ Why should I docker? ○ Core concepts ○ Containers and images ● Dockerfile ● Docker-Compose Break ● Live Demo/ Hands On: Learning Docker together wit Bday #Labs 2
Docker is the world’s leading software container platform. Developers: use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators: use Docker to run and manage apps side-by-side in isolated containers to get better compute density. Enterprises: use Docker to build agile software delivery pipelines to ship new features faster, more securely and with confidence for both Linux and Windows Server apps. What is Docker?
Details ● Isolated process-memory, ● Every container has its own network, ● Container === isolated process, ● OS kernel sharing, ● Docker is written in Go, ● Native use for Mac OS, Windows and Linux 8
• Standardized packaging for software and dependencies • Isolate apps from each other • Share the same OS kernel • Works for all major Linux distributions • Containers native to Windows Server 2016 What is a container?
Docker-Images ● Fundament of Containers, ● Multiple containers can run using the same Docker-Image, ● Docker-Store contains some good basic images: ○ Nginx, ○ Node.JS, ○ MySQL, ● Containers are isolated from the Host and any other Containers: ○ You can decide what to share: ■ Ports, ■ Volumes (for persistent data (for database containers)), ■ networks, 10