What is docker exec?
What is docker inspect?
What is docker stats?
What are Docker volumes?
What happens when a container is deleted?
What are namespaces?
@devopsdotcom#docker#interview#cloude
π³ Docker Interview tips
1 How do you secure a Docker container?
2 How do you troubleshoot a stopped container?
3 How do you check container logs?
4 How do you enter a running container?,
#Docker#DevOps#DockerInterview#Containers
π Docker Concept #6: Ports
A container has its own network, so we map a host port β container port.
docker run -p 8080:80 nginx
localhost:8080 β Container:80
π‘ "-p" / "--publish" makes the container accessible from outside.
#Docker#DevOps#Containers#Networking
π³ What is a Docker Image?
A Docker Image is a read-only template containing everything needed to run an application.
π¦ Code + Dependencies + Runtime + Configuration
Dockerfile β Image β Container
πΉ Stored in Docker Hub/ECR
#Docker#DockerImage#DevOps#Containers
π¦ What is a Container?
A container is a lightweight, isolated environment that packages:
So it can run consistently across:
π» Laptop β π₯οΈ Server β βοΈ Cloud
πΉ Portable
πΉ Fast
πΉ Isolated
πΉ Reproducible
Build once β Run anywhere π
#Docker#Containers#DevOps#Cloud
π³ What is Docker?
Docker packages your application + dependencies into a container π¦ so it can run consistently anywhere.
Code β Image β Container β Deploy π
πΉ Lightweight
πΉ Fast
πΉ DevOps & CI/CD friendly
Build once. Run anywhere.
#Docker#DevOps#Containers#CI/CD
π³ Docker vs VM
Docker π¦
β Lightweight
β Shares host OS kernel
β Starts in seconds
β Great for DevOps & CI/CD
VM π₯οΈ
β Full guest OS
β More resource usage
β Slower startup
β Strong OS-level isolation
#Docker#DevOps#VirtualMachine#Containers
AWS CLI = Manage AWS services from the terminal.
aws ec2 describe-instances
aws s3 ls
aws iam list-users
πΉ Automate AWS tasks
πΉ Create & manage resources
πΉ Use scripts & CI/CD
πΉ Integrate with DevOps tools
#AWS#AWSCLI#DevOps#CloudComputing#Automation