Posts

Showing posts from September, 2019

Dcoekr Commands

In this post I am providing basic commands of docker. Docker Image commands usage: search for images in terminal syntax:  docker search <image_name:tag> usage: pull images to local machine from docker hub syntax: docker pull <image_name:tag> usage: list all downloaded docker images in local system syntax: docker image ls (or) docker images usage:  display detailed information on one or more images syntax: docker image inspect <image_name:tag> usage: show the history of an image syntax: docker image history <image_name:tag> usage:  remove all unused images from local machine syntax: docker image prune usage: push images to docker hub/registry syntax: docker push <image_name:tag> usage: do delete one or multiple docker images syntax: docker image rm -f <image_name:tag> (or) docker rmi -f <image_name:tag> Docker container commands usage: To see running containers information synta...

Docker Basic Terminologies

Image
Before going deeply into Docker first we need to know about some basic terminologies which we use in dockers frequently. Docker Overview : Docker is a container management tool, by using docker we can wrap/compress huge environments into small docker images, not only environment we can wrap source-codes, applications, environments into docker images. Docker is a lite weight tool which is worked based on os-level virtualization which is known as containerization. Docker Terminologies: Docker CLI: This is the utility we use when we run any docker commands e.g. docker run (docker container run), ' docker images' , ' docker ps' etc. It allows us to run these commands which a human can easily understand. Docker Engine/ Demon: This is the part which does rest of the magic and knows how to talk to the kernel, makes the system calls to create, operate and manage containers, which we as users of Docker don’t have to worry about. Docker machine: Docker Machin...