Some Docker commands ......
docker –version - used to get the currently installed version of docker
docker pull - used to pull images from the dockerepository(hub.docker.com)
docker run - used to create a container from an image
docker ps - used to create a container from an image
docker ps -a - used to show all the running and exited containers
docker exec - used to access the running container
docker stop - stops container
docker kill - kills the container by stopping its execution immediately
docker commit - creates a new image of an edited container on the local system
docker login - used to login to the docker hub repository
docker push - used to push an image to the docker hub repository
docker images - lists all the locally stored docker images
docker rm - used to delete a stopped container
docker rmi - used to delete an image from local storage
docker build - used to build an image from a specified docker file