7.List of 20 docker commands and its use cases with example?

Docker –version         gives the version of docker that’s being used Docker pull                 to pull an image from the registry Docker run <image>  to create a container Docker ps                    list of running containers Docker ps –a               shows all the running and exited containers Docker stop                stop a running container gracefully Docker kill                  stops a running container abruptly Docker commit           creates a new image of an edited container Docker push                used to push an image

Read more

1.Components of Docker and its Brief Summary

A docker consists of      Docker client which puts up the request for the client in order to perform a request.      Docker host which contains the docker daemon. The requests which are put up by the client are processed here i.e containers are created and images are pulled from docker registry/hub. Docker registry is the place where the different apps images are stored. These images are pulled to the host where they are processed by creating a container.

Read more