Introduction to Docker, Meetup at University of Bamberg by Hypriot

  • View
    1.606

  • Download
    0

  • Category

    Software

Preview:

Citation preview

(Docker Meetup PDF)

Welcome to 1st Docker Meetup at Uni Bamberg

What is Docker?

4

Docker is...

■ both name of company and product of Docker, Inc.

■ located in Silicon Valley, but founder is from France

■ founded in early 2013 and since then “quite” successful

■ the 20th most starred project on Github

5

Funding Rounds

[www.crunchbase.com] 6

[DockerCon15]

Some growth statistics

June 2014 June 2015 Growth

7

Google’s summary about Docker

[https://www.google.de/trends/explore#q=docker] 8

Is it all magic?

■ No.

■ Docker uses “old” concepts, as used in e.g. BSD Jails, Solaris Zones

■ but implements them with modern technologies in smart ways

9

■ Make container technology very accessible

■ Foster community for collaboration

■ Offer huge ecosystem

Disruptive technology

“Smart ways” of Docker

10

What does Docker do?

■ “Docker allows you to package an application with all of its

dependencies into a standardized unit for software development.”

■ “Docker containers wrap up a piece of software in a complete filesystem

that contains everything it needs to run:

code, runtime, system tools, system libraries – anything you can install

on a server. This guarantees that it will always run the same,

regardless of the environment it is running in.”

[www.docker.com] 11

What else does Docker do?

■ Docker enables versioning at operating system level

■ Makes the Internet programmable

Build, ship and run!

12

[Holla, Shrikrishna: Orchestrating Docker]

Evolution of Virtualization

13

[Holla, Shrikrishna: Orchestrating Docker]

How Docker accesses the host OS

14

[ww

w.d

ocke

rboo

k.co

m]

15[Holla, Shrikrishna: Orchestrating Docker]

Example architecture: Reutilize!

16

Docker tools

17

18

Hands on Docker!

19

Use cases to play with Docker

■ Install Docker (either use Docker Toolbox for Mac and Windows or

install it directly on your Linux machine)

■ See how Docker images look like at Dockerhub.com

■ Pull images to your machine and run them

■ Pull a webserver, run it and point your browser to it

■ Build a simple image yourself and run it

■ Run Wordpress and connect a SQL database to it

20

Docker Cluster Demo

21

22

Webpages

■ www.docker.com

■ blog.hypriot.com

■ github.com/hypriot

■ hub.docker.com/u/hypriot

Stay tuned!

23

Contact us

■ Twitter:

@hypriotTweets

@firecyberice (Andreas)

@mathiasrenner

■ Email: meetup@hypriot.comReading

■ Docker + Internet of Things

mathias-renner.de/thesis.pdf

for Projects & Thesis:

marcel.grossmann@uni-bamberg.de

■ Johnston, Joe: Docker in the trenches. Successful production deployment. https://katalog.ub.uni-bamberg.de/query/10/BV043019953

■ Matthias, Karl: Docker. Up and running. https://katalog.ub.uni-bamberg.de/query/10/BV042683772

■ Raj, Pethuru: Learning Docker. https://katalog.ub.uni-bamberg.de/query/10/BV043019899

■ Holla, Shrikrishna: Orchestrating Docker. https://katalog.ub.uni-bamberg.de/query/10/BV042682680

■ Hane, Oskar: Build your own PaaS with Docker. https://katalog.ub.uni-bamberg.de/query/10/BV042683263

■ Khare, Neependra: Docker cookbook. https://katalog.ub.uni-bamberg.de/query/10/BV043019781

UniBib’s Literature

24

Tiny Docker cheatsheet■ Run a container

docker run <options> user/repo:tag

See https://docs.docker.com/engine/reference/run/

■ List all running containers on a machine

docker ps

■ List all downloaded Docker images on a host

docker images

25

http://downloads.hypriot.com/docker_meetup_uniba_20160114.pdf

Download Meetup presentation: