Docker Lesson 1 — Dive into Docker!

Yao-Shang Tseng
Sep 2, 2018 · 1 min read

It’s the note for Docker and Kubernetes: The Complete Guide
https://www.udemy.com/docker-and-kubernetes-the-complete-guide/

why use Docker ?

  • Docker makes it really easy to install and run software without worrying about setup or dependencies.

What is Docker ?

  • Docker is a platform or ecosystem around creating and running containers.
  • Docker Client / Docker Server / Docker Machine / Docker Images / Docker Hub / Docker Compose
Image : Single file with all the dependencies and config required to run a program.Container : instance of an image. Runs a program.

Docker Client ( Docker CLI ) : Tool that we are going to issue commands to

Docker Server ( Docker Daemon ) : Tool that is responsible for creating images, running containers, etc.

# get version of docker
$ docker version
# run the specific image as a container
$ docker run <image>

Namespacing : Isolating resources per process ( or group of processes )

Control Groups ( cgroups ) : Limit amount of resources used per process

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade