1) Docker - Introduction v2.pdf

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Document Details

EnthusiasticFairy

Uploaded by EnthusiasticFairy

Karel de Grote Hogeschool

Tags

docker containerization software architecture

Full Transcript

Docker Intro Alle teksten, afbeeldingen, tabellen en andere items in deze cursus vallen onder de bescherming van het auteursrecht. Het is daarom verboden (een gedeelte van) deze cursus te...

Docker Intro Alle teksten, afbeeldingen, tabellen en andere items in deze cursus vallen onder de bescherming van het auteursrecht. Het is daarom verboden (een gedeelte van) deze cursus te 19-11-2021 kopiëren, over te nemen of verder te verspreiden zonder voorafgaandelijk schriftelijke toestemming van de auteur. Dit geldt ook voor vertalingen, wijzigingen of bewerkingen ervan en ongeacht de manier waarop (elektronisch, papier, …). Elke inbreuk hierop kan aanleiding geven tot een tuchtsanctie en vervolging voor een rechtbank. Introduction What is docker? Terminology 19-11-2021 What is Docker? Not virtualization but containerization: - p.3 19-11-2021 What is Docker? Container Engine – LXC, FreeBSD jail, OpenVZ, AIX WPARs, Solaris Containers, … Open source Written in GO “Software bucket” containing everything to run software independently. – Process runs isolated on the OS of the host - p.4 19-11-2021 What is Docker? Process runs on host OS. (Shared OS Kernel) Process runs isolated – Uses features of Linux kernel for isolation: Namespaces Control groups – Can share OS parts between containers Uses a Union file system - p.5 19-11-2021 What is Docker? “Even when you don’t run containers, you are in a container” By Jérôme Petazzoni (2015) - p.6 19-11-2021 What is Docker? Uses a Union file system (part of main linux kernel since version 3.18) – 3+1 layers/directories: lower (base = R), upper (diff = W) & merged (overlay = visibility & user interaction) Work (workdir) = intermediate layer= used to prepare files as they are switched between the layers (file copy = atomic action) = internal to FS – Side-note: lower can also be an merged (overlay) – Copy-on write filesystem – Used in “image-building” – Types: AUFS Overlay2 BTRFS - p.9 19-11-2021 Terminology Images - The file system and configuration of our application which are used to create containers. – Read-only – Instructions for container creation – “Layered” (based on other images) Containers - Running instances of Docker images — containers run the actual applications. A container includes an application and all of its dependencies. It shares the kernel with other containers, and runs as an isolated process in user space on the host OS. – Read/Write – Runnable - p.10 19-11-2021 Terminology Docker Solution: – Docker Engine Runs the containers – Docker Hub Contains the docker images Registry & Repository - p.11 19-11-2021 Terminology … - p.12 19-11-2021 Docker Architecture - p.13 19-11-2021 “DevOps” - p.14 19-11-2021

Use Quizgecko on...
Browser
Browser