Nxp Semiconductors N.v. · NASDAQ:NXPI
Nxp Semiconductors — Technical Presentation (September 2019)
22 slides from Nxp Semiconductors's technical presentation, September 2019
Slide 1: Docker Container Fundamentals
Docker Container Fundamentals Solutions Lab Digital Networking Sep 2019
Slide 2: Agenda
AGENDA • Introduction to Docker • Docker Architecture • Docker vs. Virtual Machine • Docker Objects • Images • Containers • Layers • Docker Features • Terminology • Docker Command Examples • References
Slide 3: Prerequisites
Prerequisites • There are no specific skills needed for this tutorial beyond: o A basic comfort with the command line o Using a text editor. CONFIDENTIAL AND PROPRIETORY
Slide 4: What is Docker?
What is Docker? • An open platform for developing, shipping, and running applications • Separate applications from infrastructure so one can deliver software quickly • Provides the ability to package and run an application in a loosely isolated environment called a container • Docker provides toolin
Slide 5: What Docker Provides?
What Docker Provides? •Flexibility •Lightweight •Interchangeability •Portability •Scalability •Stack ability
Slide 6: Docker Architecture
Docker Architecture • Client-Server Architecture: The Docker client talks to the Docker daemon, which does the heavy lifting of building, running, and distributing your Docker containers. o The Docker client and daemon can run on the same system, or you can connect a Docker client to a remote Docker
Slide 7: Container vs. Virtual Machine
Container vs. Virtual Machine • A Container runs natively on Linux and shares the kernel of the host machine with other containers. o Runs a discrete process, taking no more memory than any other executable, making it lightweight. o Sit on top of a physical server and its host OS - typically Linux o
Slide 8: Docker Objects: Images
Docker Objects When using Docker, it is creating and using images, containers, networks, volumes, plugins, and other objects. What are IMAGES: o An image is a collection of files and some meta data. o Images are comprised of multiple layers, multiple layers referencing/based on another image. o Each
Slide 9: Docker Objects: Containers
Docker Objects • What are CONTAINERS: o A container is a runnable instance of an image. One can create, start, stop, move, or delete a container using the Docker API or CLI. o You can connect a container to one or more networks, attach storage to it, or even create a new image based on its current s
Slide 10: Image Vs Container
Image Vs Container Base Image ubuntu:latest base image New Image iid Container cid1 Container cid1 Container cid2 cid3 cid4
Slide 11: Docker's container: the concept and shipping container analogy
Docker’s container ---the concept (and relation to our shipping container)
Slide 12: Layers
Layers • A Docker container is structured in terms of "layers". • Process of building image • Start with base image. • Load software desired. • Commit base image + software to form new image. • New image can then be base from more software. • Exploiting Layers: • When an image is updated, only updat
Slide 13: Terminology
Terminology • Terminology - Image • Persisted snapshot that can be run o images :- List all local images. o run :- Create a container from an image and execute a command in it. o tag :- tag an image o pull :- Download image from repo. o rmi :- Delete a local image. o This will remove intermediate im
Slide 14: Some Docker Command Examples
Some Docker Command Examples • Mount Volume • $ docker run –it –v /home/user:/root <docker name or id> • Publish Port • $ docker run –it –p 8080:80 <docker name or id> • With Root permission • $ docker run –it –privileged <docker name or id> • In background • $ docker run –itd <docker name or id> •
Slide 15: How Does Docker Works
How Does Docker Works
Slide 16: Docker Updates/Changes
Docker Updates/Changes im Host is now running A” Host running A wants to upgrade to A”. Requests update. Gets only diffs
Slide 17: Docker Hello World Examples
Docker Hello World Examples Playing with Busybox • We are going to run a Busybox container on our system and get a taste of the docker run command. • Let's get started • $ docker pull busybox • After pulling the image from the Docker registry it gets saves in the system. One can use the docker image
Slide 18: Docker Hello World Examples (Contd..)
Docker Hello World Examples (Contd..) •Wait, nothing happened! Is that a bug? •Well, no. Behind the scenes, a lot of stuff happened. When you call run, the Docker client finds the image, loads up the container and then runs a command in that container. As we didn't provide a command, so the containe
Slide 19: Docker Hello World Examples (Contd..)
Docker Hello World Examples (Contd..) • Remove the existing Docker • docker rm 305297d7a235 ff0a5c3750b9 305297d7a235 Ff0a5c3750b9 • Or $ docker rm $(docker ps -a -q -f status=exited) • Or $ docker container prune WARNING! This will remove all stopped containers. Are you sure you want to continue? [
Slide 20: Use Of Docker
Use Of Docker • Open platform for developers and system administrators to build and test applications • Development Environment • Environments for Integration Tests • Quick evaluation of software • Microservices • Multi-Tenancy • Unified execution environment (dev test prod (local, VM, cloud, ...)
Slide 21: References
References • For Docker Architecture: • https://docs.docker.com/engine/docker-overview/ • For Docker: • https://opensource.com/resources/what-docker • For Docker Objects: • https://docs.docker.com/engine/docker-overview/ • For Docker Example: • https://docker-curriculum.com/#hello-world CONFIDENTIAL
Slide 22: Secure Connections for a Smarter World
SECURE CONNECTIONS FOR A SMARTER WORLD www.nxp.com NXP. the NXP loao. and NXP secure connections for a smarter world are trademarks of NXP B.V. Alll other product or service names are the provertv of their resvective owners. © 2019 NXP B.V.
NXP Semiconductors — Technical Presentation (September 2019) on 6ix