Posts

Showing posts from August, 2022

DOCKER

Image
1) we can make a container with the required setup.  container is nothing but the isolated environment for running the application. Virutal machine vs container:  Hypervisors -- we can manage virtual machine.  dis : Each VM needs a full-blown OS     slow to start Resourse intensive.   Containers : adv : allow multipel apps in isolation   are lightwegiht use OS of the host start quickly need less resources. DOCKER Architecutre: client server architecture.(REST APIs) All the containers shares the same OS. INSTALLING : download from docker hub. docker version -- both for client and server will come. DEV WORKFLOW : 1) take application and add dockerfile to convert into docker application. 2) turns into image by docker. 3) container gets created based on the application needs. 4) we can push the image to docker registry. so that we can use the image from registry to any test/production environment. 5) Docker registry is nothing but like github for docker. Dockerfile