Docker Installation
-
When we install docker we get two major components
- docker client:
- A command line to interact with docker engine
- docker engine: This is collection of multiple components
- Orchestration
- Docker daemon
- Runtime

- docker client:
-
to play with docker commands
- manual
--help - cheatsheet
- manual
- Install
- Linux VM:
- Docker can be installed by following instructions over here Refer Here
- script based installation Refer Here
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh

- Docker allows communication to the unix socket for the users who belong to docker group. so lets add current user to docker group
sudo usermod -aG docker <username>. logout and login - Now execute
docker container run hello-world

- Linux VM:
Windows 10/11 (Non Home editions)
- Refer Here
- I will not recommend installing docker on windows.
Mac
Docker Playground
- Create a Docker Hub account Refer Here
- This playground gives a linux machine with docker installed for 4 hours for free. Refer Here
terms To be aware of
- containerd
- runc
- libcontainer
- oci
- docker shim
- appc
- grpc
- rkt containers
