Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Up & Running with Docker

Up & Running with Docker

Quick introduction to Docker
Run our first Hello World Docker Container
Build our first Docker image
Create Containerized Web Application

Mohammed Zaghloul

May 02, 2017
Tweet

More Decks by Mohammed Zaghloul

Other Decks in Technology

Transcript

  1. WHO ARE YOU ? ▪ Senior Front-End Developer @ OPENCOAST

    ▪ Former Team Lead Developer @ GLOBAL IMPACT GitHub : msalahz Twitter : msalahz Linkedin : msalahz
  2. Background…. ▪ C# & ASP.NET : 2008 – 2012 ▪

    Angular & Jquery : 2012 – 2014 ▪ Ember : 2014 – Now
  3. Let me ask you ▪ Who knows about Docker ?

    ▪ Who uses Docker for development ? ▪ Who uses Docker in production ? ▪ Who tried but could not do it ? ▪ Who uses Windows ? ▪ Who uses mac OS ? ▪ Who uses Linux ?
  4. What is covered in the workshop ? 1. Quick introduction

    to Docker 2. Run our first Hello World Docker Container 3. Build our first Docker image 4. Create Containerized Web Application
  5. What is Docker ? Docker is an open platform for

    developing, shipping, and running applications. Docker allows you to package an application with all of its dependencies into a standardized unit for software development.
  6. Docker Components ▪ Docker daemon ▪ Docker client ▪ Docker

    registries ▪ Docker objects • IMAGES • CONTAINERS
  7. Docker uses a client-server architecture. The Docker client talks to

    the Docker daemon, which does the heavy lifting of building, running, and distributing your Docker containers. See more details as Understanding docker
  8. On a typical Linux installation, the Docker client, the Docker

    daemon, and any containers run directly on your localhost. In OS X, Windows installation, the Docker daemon is running inside a Linux VM.
  9. DOCKER IMAGE • An image is a read-only template with

    instructions for creating a Docker container. • Often, an image is based on another image, with some additional customization. For example, you may build an image which is based on the Ubuntu image, but installs the Apache web server and your application, as well as the configuration details needed to make your application run. • You might create your own images or you might only use those created by others and published in a registry.
  10. DOCKER CONTAINER • A container is a runnable instance of

    an image. • You can create, run, stop, move, or delete a container using the Docker API or CLI. • By default, a container is relatively well isolated from other containers and its host machine. • A container is defined by its image as well as any configuration options you provide to it when you create or run it. • When a container stops, any changes to its state that are not stored in persistent storage disappears.
  11. References ▪ Docker for Developers - Introduction ▪ Docker Documentation

    ▪ Learn Docker Technologies for DevOps and Developers (Udemy Course) ▪ Docker for .Net Developers: Docker’s Architecture