Docker Logo

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

  1. Create Docker
    docker build -t <name-of-docker-container> <directory-to-docker-file>
  2. List Docker images :
    docker images
    docker image ls
  3. Run Docker
    docker run <name-of-docker-container>
  4. Get list of running containers
    Running container : docker ps
    List All containers : docker ps -a
  5. 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.

  1. Create docker repository : click here
  2. Play with Virtual Machines : click Here
  3. Clone repository : docker pull <docker-hub-url>
    Eg : docker pull kumarmanishc/demo-docker
    list the cloned container : docker images

Reference : Video Tutorial

Leave a Comment

Your email address will not be published. Required fields are marked *