what is docker?
a tool that enables you to create, deploy and run applications by using containers
What is a Dockerfile?
a file containing information (series of commands) on how to build a docker image
what is a docker image and what does it contain?
an unchangeable file that contains - source code - libraries - dependencies - tools - other files needed for an application to run.
what is a container?
a virtualized environment where users can isolate applications from the underlying system
difference between image and container
containers depend on docker images and use them to create the virtualized environment
difference between container and VM
what is the container registry?
store manage and secure container images
what is a microservice and what are the benefits?
an architectural style that structures an application as a collection of services that are:
docker build
creates an image from a Dockerfile
-t
specifies the repository and a tag
docker tag
create a tag that refers to an image
docker create
create a container from an image
docker run
docker create + docker start
docker push
push image to a registry
docker pull
pull image from a registry
What is Kubernetes and what is it used for?
Open source system for:
What are Kubernetes namespaces?
virtual clusters backed by the same physical cluster
What is a pod?
What is a replica set?
ensures how many replicas of a pod should be running