What is Docker?
What is Container?
Docker Workflow?
Container Lifecycle
Top 10 Commands to work with container/
Top 10 Commands to work with docker Image
What is Kubernetes?
Why Do we need Kubernetes
Define Kubernetes Architecture?
YOUR COSMETIC CARE STARTS HERE
Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.
“Small steps lead to big changes — today is a perfect day to begin.”
✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence
What is Docker?
What is Container?
Docker Workflow?
Container Lifecycle
Top 10 Commands to work with container/
Top 10 Commands to work with docker Image
What is Kubernetes?
Why Do we need Kubernetes
Define Kubernetes Architecture?
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Docker is a virtual machine kind of setup which is enabled and hosts as operating system for containers. Docker commands help to connect to a container starting stopping and running operations.
Container is
It is a file system or micro service that host applications on a docker.
Docker work flow-
client (apis) – server ( demons with containers and db)- docker registries
Container life cycle-
Create- start/ run- pause-delete- stop
Docker and container commands-
docker create –name swathi httpd
Docker ps -a
Docker start name
Docker pause name
Docker rm Name
docker exec -it name bash
docker logs -f name
Docker images
docker pull ubuntu:latest
Docker container ls
Docker restart container name
Docker update — restart
Kubernetes –
Is a group of microservices used to scale and deploy multiple applications
Why do we need-
To increase the usability scalbility deployment and easy management of applications
Kubernetes architecture-
Ui- Api – pods ( docker)
What is Docker?
-> Container management tool/platform which helps in improving the quality, save cost and time.
What is Container?
-> Containers are lightweight, isolated environments where an application everything that it needs to run properly. In VMs, there is OS wastage as we need 3 OS to run 3 Apache. But, Kernel has the ability to duplicate the set of 1 PID, 1net, 1user, 1 mnt namespaces.
Docker Workflow?
-> Create a docker file -> use this to build docker image -> and then create containers using created image -> push the image to docker registry (docker hub) -> from the registry, the image can be pulled and reused in different server/environment.
Container Lifecycle?
-> Create, start, pause, remove, stop, restart, kill tasks can be performed on the containers.
Top 10 Commands to work with container:
-> alias docker=’sudo docker’
-> docker info
-> docker ps
-> docker ps -a
-> docker pull <image name>
-> docker create –name <container name> <image name>
-> docker exec <container ID> ls
-> docker exec <container ID> du
-> docker exec -it <containerID> /bin/bash
-> docker inspect
-> exit
Top 10 Commands to work with docker Image:
-> docker run –name <container name> <image>
-> docker run -d –name <container name> <image>
-> docker run -d –name <container name> -p <hostPort>:<containerPort> <image>
->
What is Kubernetes?
-> this is an opensource container orchestration platform. It automates deployment and manages the applications (containerized apps). It auto scales, auto heals, load balances.
Why Do we need Kubernetes?
->
Define Kubernetes Architecture?
-> User , Master node, Worker nodes are the high level components of K8s architecture.
1. What is Docker?
Docker is a tool that makes it easy to run apps anywhere. It packs the app with everything it needs so it works the same on any system.
2. What is a Container?
A container is like a small box where app runs with all its stuff. it doesn’t need a full OS, so it’s fast and lightweight.
3. Docker Workflow
build image, push to Docker Hub, run containers from that image.
4. Container Lifecycle
container creation, run the container, stop or restart it, can remove it.
5. Top Commands for Containers
docker ps, see running containers
docker ps -a, see all containers
docker run, start a new one
docker start, start an existing one
docker stop, stop it
docker restart, restart it
docker kill, force stop
docker rm, remove it
docker exec, go inside the container
6. Top Commands for Images
docker images, list images
docker pull, download an image
docker build, build from Dockerfile
docker rmi, remove an image
docker commit, save container as image
docker history, see layers
docker save, save image as tar
docker inspect, see image details
7. What is Kubernetes?
Kubernetes is a system that manages lots of containers. like a master that tells containers where to run and maintains the containers.
8. Why do we need Kubernetes?
If we have small number containers, it’s easy to manage individually. But with 100s of them, it becomes difficult to check each one them manually. Kubernetes handles scaling, restarts crashed ones, and balances any issues regarding the containers as well.
9. Kubernetes Architecture
Master Node, the brain – schedules, stores info, gives API
Worker Nodes, the hands – run the containers
Each worker has kubelet to connect to the master to run the pods.
1.What is Docker?
Docker is a platform that allows the user to run applications in the container
2.What is Container?
Container is a placeholder or a unit which allows user to run the applications
3.Container Lifecycle
Create –> RUN –> STOP –> Pause –> Retart –>Delete
4.Top 10 Commands to work with container
Docker ps -a
Docker create
docker run
docker start
docker exec
docker pause
docker restart
docker stop
docker rm
docker inspect
docker cp
5. Top 10 Commands to work with docker Image
docker images
docker build -t .
docker pull
Docker push
docker inspect
docker prune
6. What is Kubernetes?
Kubernetes is a open source platform which allows the user to manage mutliple docker and containers
or multiple docker and container environments
7. Why Do we need Kubernetes
To manage manage mutliple docker and containers or multiple docker and container environments with ease
8 Define Kubernetes Architecture?
Control plane –> Scheduler –> Work node
docker is a container management toolcontainer has separate namespaces for each run 4.create -> start -> stop -> restart -> kill -> remove
5.commands :
docker ps -adocker imagesdocker createdocker startdocker execdocker inspect ‘docker kill
6.KUBERNETS is for automated deployment ,
What is Docker?
Docker is a tool that lets you package an app and everything it needs into a container so it runs the same anywhere.
What is Container?
A container is a management tool to create , start , stop restart , kill , remove the apps
Docker Workflow?
Dockerfile —> Build Image —> launch Container —> Deploy
Container Lifecycle
Create —> Start —> Run —> Stop/Kill —> Remove
Top 10 Commands to work with container
Docker ps
Docker ps -a
Docker create
Docker start
Docker restart
Docker stop
Docker kill
Docker inspect
Docker run -it
Docker pause
Docker unpause
Docker container prune
Docker logs
Top 10 Commands to work with docker Image
Docker images
Docker pull
Docker build -t
Docker history
Docker pull
What is Kubernetes?
Kubernetes is a system that automatically manages, scales, and runs containers across multiple machines.
Why Do we need Kubernetes
Container brings scalability challenges and with the help of K8s we are able to run containers on n number of machines
Define Kubernetes Architecture?
Master Node which consists of below
Api Server
Cluster store
Controller manager
Scheduler
Nodes aka minions consists of below
Kubelet
Container engine
Kube proxy
1. What is Docker?
Docker is a platform used for building, packaging, and running applications in isolated environemnts called containers.
2. What is Container?
A container is a lightweight, isolated environment that includes an application and its dependencies to run consistently across systems. Each container has its own filesystem, network namespace and IPC namesapce.
3. Docker Workflow
Code → Create Dockerfile → Build Image → Push to Registry → Pull Image → Run Container.
4. Container Lifecycle
Create → Start → Run → Pause/Unpause → Stop → Restart → Remove.
5. Top 10 Commands to work with Container
docker run– Create & start containerdocker ps– List running containersdocker ps -a– List all containersdocker exec– Run commands inside containerdocker logs– View container logsdocker stop– Stop containerdocker start– Start stopped containerdocker restart– Restart containerdocker rm– Remove containerdocker inspect– View container details6. Top 10 Commands to work with Docker Image
docker build– Build image from Dockerfiledocker images– List imagesdocker pull– Download image from registrydocker push– Upload image to registrydocker rmi– Remove imagedocker tag– Tag imagedocker inspect– View image detailsdocker save– Save image to tar filedocker load– Load image from tar filedocker history– Show image layers7. What is Kubernetes?
Kubernetes is an open-source platform for automating deployment, scaling, and management of containerized applications.
8. Why Do We Need Kubernetes?
To manage multiple containers across clusters, handle scaling, load balancing, self-healing, and rolling updates automatically.
9. Define Kubernetes Architecture
Make a container from an image (docker create).
Begin running the container (docker start).
Gracefully stop the container (docker stop).
Kill: Forcefully stop the container (docker kill).
Remove: Delete the container from the system (docker rm).
4.The container lifecycle has five main stages:
Created: The container has been created but not started yet.
Started: The container is running.
Stopped: The container’s tasks are temporarily stopped gracefully.
Killed: The container is stopped forcefully.
Removed: The container is removed from the system permanently.
5.docker run
docker create
docker ps
docker container prune
docker stop
docker start
docker restart
docker exec
docker rm
docker inspect
6.docker build
docker images
docker pull
docker push
docker rmi
docker history ubuntu
7.Kubernetes is a tool that manages and controls hundreds or thousands of containers across many machines.
8.Kubernetes is needed because it makes managing lots of containers easy. It automatically handles starting, stopping, and scaling containers based on demand. This saves time, reduces errors, and helps apps stay available even if some machines fail.
9.Kubernetes architecture has two main parts:
Control Plane (Master): It manages the whole cluster, making decisions like where to run apps. Key parts include the API server (talks to users), etcd, scheduler (schedules containers), and controller manager.
Worker Nodes: These run the actual app containers. Each node has a kubelet (controls containers on that node).
This is a very clear and helpful explanation of Docker and Kubernetes for beginners. It’s great how you’ve broken it down into simple, direct questions like “What is Docker?”, “What is a Container?” and “Why do we need Kubernetes?”—that structure really guides readers step by step instead of overwhelming them. Covering topics like Docker workflow, container lifecycle, and top commands makes the content practical, not just theoretical, and the focus on Kubernetes architecture adds real depth for anyone aiming to move into real-world DevOps or cloud roles. Overall, it feels like a solid starting point for learners who want to understand containers and orchestration in a hands-on way.