Docker describes themselves as "an open platform for developers and sysadmins to build, ship, and run distributed applications".
The key benefit of Docker is that it allows users to package an application with all of its dependencies into a standardized unit for software development. Unlike virtual machines, containers do not have the high overhead and hence enable more efficient usage of the underlying system and resources.
// Pull Docker Image to Local
docker pull
// Search Image on Docker Hub
docker search
// Run Docker Image
docker run {imageName}
// Show Images on Local
docker images
// Delete Images
docker rmi
// Run Container on Background
docker run -d
// How to Run Apache and explain volume
docker run -d -p 80:80 --name my-apache-72 -v "$PWD":/var/www/html php:7.1-apache
docker run -p 1234:80 --name my-apache-71 -v "$PWD":/var/www/html php:7.2-apache
// Port and Naming Containers
docker run -d --name redisHostPort -p 6379:6379 redis:latest
// List of containers docker ps -a
// PHP Docker Container https://hub.docker.com/_/php/