Created by Salman Al Qureshi Linkedin: Salman Qureshi

http://www.linkedin.com/in/salman-qureshi-4aa41a247

Docker Basics

Docker Overview

Docker architecture

Points to ponder: We cannot Edit docker images it’s always read only, recreate can happen.

Docker Is a Platform as a service (PAAS) That uses Os level virtualization whereas Virtual Machines (VMs) Uses Hardware level virtualization.

Benifits of Docker is: Standard —> portable Lightweight —> by using images like alpine(uses apk pckage manager) and busybox Secure —> it’s already isolated

server & client: client is the cli we interact with and the server is just the daemon running in the bg so if we stop the server that is the daemon then we won’t be able to interact with the server so we will be able to run commands like docker version etc but not docker images ( the commands that needs the server )

Note: Docker server can also be on another machine and not on the client

Docker Run Command

Docker Start Command