Docker is a tool designed to make it easier to create, deploy and applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package. By doing so, developers can rest assured that the application will run on any other Linux machine regardless of any customized settings that machine might have that could differ from the machine used for writing and testing the code.
Commnads
Pull Image
docker pull prakashdale/k8stest
Inspect Image
docker inspect prakashdale/k8stest
Container Logs
docker logs -t <container-name>
e.g. docker logs =t prakashdalegithubio_jekyll-serve_1
Run shell commands inside docker
docker exec -it <container name> <command name>
e.g. docker exec -it prakashdalegithubio_jekyll-serve_1 /bin/bash