Docker and Kubernetes
Docker and Kubernetes
Kubernetes:
Introduction to Kubernetes
Features of Kubernetes
Kubernetes API
Basic Architecture
Minikube
Ref: Docker and Kubernetes Tutorial By Amigoscode and Techworld With Nana & https://www.youtube.com/watch?v=iqqDU2crIEQ&t=1002s
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48 3
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48 4
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48 5
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48
Vishal A. Meshram, Department of Computer Engineering, VIIT, Pune-48
DOCKER INSTALLATION
• Start the docker engine and again give command “docker ps”
• The output shows that your docker is installed and running properly.
Docker
HOST
• Check the process ones type command “docker ps” and check port mapping.
Docker
HOST
1) Stop containers:
- docker ps (lists the running containers)
- docker stop container Id/ Name
2) Start containers:
- docker ps (lists the running containers)
- docker start container Id/ Name
- Command to know all containers running and stopped is
- docker ps –a
3) Remove containers:
- docker ps -a (lists the running containers)
- docker rm container Id/ Name
- Docker rmi imageid/name
4) Naming containers:
- Docker gives random names to containers if you doesn’t specify it.
- You must give names to container when you create your own container.
- use following command to give names to container:
80
Docker
HOST
Docker
HOST
Docker
HOST