Docker in a gwww.lat-lon.de1
Agenda What is Docker?Advantage over classical virtualizationHow to install DockerExercise: How to use Dockerwww.lat-lon.deCopyright 2016 Open Geospatial Consortium
What is Docker? Docker allows to package an application into astandardized unit for software development:– The Docker Container A Docker Container wraps apiece of software in a completefilesystem which contains allneeded resourcesA Docker Container runson Linux, Windows, macOS,and most Cloud infrastructuresImage source: https://www.docker.comwww.lat-lon.deCopyright 2016 Open Geospatial Consortium
Docker promise: Build, Ship, Run! Docker enables reliable deployments–Build here, run therewww.lat-lon.de
Advantage over classical virtualization Setting up a Virtual Machine requires additional tools forprovisioning such as Puppet, Chef, Ansible, Vagrant, shell scriptsand more .– Tools such as Packer do support builder and provisionersBut .–Docker comes with template Docker images hosted athub.docker.com–Easy to extend with custom software, libraries, files defined ina single Dockerfile–Images are version controlled and lightweight–Supports the Dev&Ops paradigm Infrastructure-as-Codewww.lat-lon.deCopyright 2016 Open Geospatial Consortium
Exercise: How to install Docker There are official installation guides available forvarious operating systems.– https://docs.docker.com/engine/installation/As installation guides are self-explanatory andDocker is pre-installed on all working stations, we canskip to the next chapter.www.lat-lon.de
Exercise: How to use Docker Check if correct Docker version is installed:docker version Run first Docker container:docker run hello-world First, Docker Image is searched locally, when not found Then, Docker Image is pulled from DockerHub. Split up command:docker pull hello-worlddocker run hello-worldwww.lat-lon.de
Exercise: How to use Docker States of a Docker application:–Dockerfile –Docker Image –Dockerfile–Image can be loaded by Docker and is used to createDocker Container.Docker Container Configuration to create a Docker Image.Instance of a Docker Image.Dockerfile islocated here!Build a Docker Image from Dockerfile with:docker build -t username/imagename .www.lat-lon.de
Exercise: How to use Docker Docker Image–List all Docker Images:docker images–Remove Docker Image with name 'imagename':docker rmi imagename Docker Container–List all Docker Containers with size:docker ps -as–Remove Docker Container 'containername':docker rm containernamewww.lat-lon.de
Exercise: How to use Docker Remove the Docker Container and Docker Image of thehello-world application.Then pull the image (with the pull command) and run itagain.www.lat-lon.de
Exercise: How to use Docker Other useful Docker commands:––––– dockerdockerdockerdockerdockercreate imagenamestart containernamestop containernamerestart containernamekill containernameThe „httpd“ Docker Image can be used to test abovedocumented commands.www.lat-lon.de
What we have learned Your are familiar with basic usage and commands ofDocker.www.lat-lon.de
Contact & Licence 2017 lat/longesellschaft für raumbezogeneinformationssysteme mbHAennchenstrasse 1953177 BonnTel: 49 228 18496-0Fax: 49 228 t-lon.de13
Exercise: How to use Docker States of a Docker application: – Dockerfile Configuration to create a Docker Image. – Docker Image Image can be loaded by Docker and is used to create Docker Container. – Docker Container Instance of a Docker Image. Dockerfile – Build a Docker Image from Dockerfile wi
Docker Quickstart Terminal Docker Quickstart Terminal Docker . 2. docker run hello-world 3. . Windows Docker : Windows 7 64 . Windows Linux . 1.12.0 Docker Windows Hyper-V Linux 1.12 VM . docker . 1. Docker for Windows 2. . 3. . 1.11.2 1.11 Linux VM Docker, VirtualBox Linux Docker Toolbox .
Docker images and lauch Docker containers. Docker engine has two different editions: the community edition (Docker CE) and the enterprise edition (Docker EE). Docker node/host is a physical or virtual computer on which the Docker engine is enabled. Docker swarm cluster is a group of connected Docker nodes.
3.Install the Docker client and daemon: yum install docker-engine. 4.Start the Docker daemon: service docker start 5.Make sure the Docker daemon will be restarted on reboot: chkconfig docker on 6. Add the users who will use Docker to the docker group: usermod -a -G docker user .
o The Docker client and daemon communicate using a RESTAPI, over UNIX sockets or a network interface. Docker Daemon(dockerd) listens for Docker API requests and manages Docker objects such as images, containers, networks, and volumes. Docker Client(docker) is the primary way that many Docker users interact with Docker. When docker run
Open docker-step-by-step.pdf document Introduction to Containers and Docker 19. Backup slides. Docker cheatsheet Introduction to Containers and Docker 21 docker pull user/image:tag docker run image:tag command docker run -it image:tag bash docker run image:tag mpirun -n 2
Oracle Container Runtime for Docker 19.03 1-2 Oracle Container Runtime for Docker 18.09 1-3 Oracle Container Runtime for Docker 18.03 1-3 Oracle Container Runtime for Docker 17.06 1-4 Docker 17.03 1-5 Docker 1.12 1-6 2 Installing Oracle Container Runtime for Docker Setting Up the Unbreakable Enterprise Kernel 2-1
Docker EE provides native container management tools, including Docker Engine, Docker Trusted Registry (DTR), and Docker Universal Control Plane (UCP). It can be deployed in an on-premises or cloud environment. . OS configuration and Docker Enterprise Edition installation is automated through built-in Docker tools and Puppet. The end-to-end .
and STM32F103xx advanced ARM-based 32-bit MCUs Introduction This reference manual targets application developers. It provides complete information on how to use the low-, medium- and high-density STM32F101xx, STM32F102xx and STM32F103xx microcontroller memory and peripherals. The low-, medium- and high-density STM32F101xx, STM32F102xx and STM32F103xx will be referred to as STM32F10xxx .