For your PC/ MAC OS, get the software from https://www.docker.com/get-started/
Install Docker
For the docker to run properly, WSL is needed that too updated version.
open command prompt, type
wsl --update
4. Restart the PC
5. Hoola...! Docker is ready after a few verification steps mentioned below:
Sigin is required when collboration is required between various teams. For testing docker, personally, skip for now.
6. docker --version
7. docker run hello-world
(if that is not available, it will pull the IMAGE from cloud)
8. python 3.11 required for this; check using below command; if python3.11 is not available, then it is pulled from python server
docker run -it python:3.11
if already python 3.11 is available, it shows as below:
ptyhon 3.11 must be successfully installed as of now/ shown above.
9. docker run -d -p 8080:80 nginx
(if nginx is already available, it executes/ pull from server and then executes;
if you double check the same command, it might show error/warning, which is evident as the port was already allocated in previous step9 initially by the command docker run -d -p 8080:80 nginx ; Discard that warning.
10. open a browser and in address bar, type this http://localhost:8080 and press enter
11. docker ps
(this command in cmd shows the containers running)
OR
docker ps -a
(this command shows all containers)
12. docker stop <container_id> # to stop a container
Ex: docker stop 9da0cc744e2d
13. docker rm <container_id> # to remove a container
ex: docker rm 9da0cc744e2d
14. docker start 91e2ee3adfc1 # to start a stopped container
Kubernetes, also known as K8s, is an open source system for automating deployment, scaling, and management of containerized applications.
Within Docker app, there is Kubernetes in-built.
WSL= Windows Susbsytem for Linux (WSL 2.X) is for Docker as of Janurary 2026.
To learn more about WSL ---> https://learn.microsoft.com/en-us/windows/wsl/install
For Docker ---> https://www.docker.com/get-started/
For Kubernetes ----> https://kubernetes.io/