Docker
Docker is a technology that allows you to build, run, test and deploy distributed applications. It is an open source project that automates the deployment of applications inside software containers, by providing an additional layer of information and abstraction of operating-system level virtualization on Linux, Mac OS and Windows.
Container
Container is an open source software development platform. Its benefit is to package applications into containers.
Container Image
Container image is a file that comprised of multiple layers and used to run code in a docker container.
docker-compose
Is a yaml file config your .env and runs the images.
Docker Commands
docker ps
- display all the docker images which are running on docker.
docker ps -a
- displays all the docker images which are running and not running.
docker run
- It runs your docker images.
docker-compose up -d –build
- It runs all the images which you specify in the docker-compose ylm file by using instance then the number of the images you want to run.