Docker Lesson 1 — Dive into Docker!
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
