Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers.
Installation :
Installation of docker vary based on operating system>
Please follow this link
- Create Docker
docker build -t <name-of-docker-container> <directory-to-docker-file> - List Docker images :
docker images
docker image ls - Run Docker
docker run <name-of-docker-container> - Get list of running containers
Running container : docker ps
List All containers : docker ps -a - Run container in Interactive mode
docker run -it ubantu
Docker Hub:
Docker Hub is the world’s largest repository of container images with an array of content sources including container community developers, open source projects and independent software vendors (ISV) building and distributing their code in containers.
- Create docker repository : click here
- Play with Virtual Machines : click Here
- Clone repository : docker pull <docker-hub-url>
Eg : docker pull kumarmanishc/demo-docker
list the cloned container : docker images
Reference : Video Tutorial