Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers which are independent of hardware, language, framework, packaging system and hosting provider.
There is a interesting blog post about how to use Docker to install Drupal. After reading it, gives you an good starting point for trying docker on your local environment. Be aware that docker works only on 64bit processors.
The most common Docker commands are listed below:
- List images
- List running containers
- List all available containers
- Pull an image named centos
- Run container named centos
- Run a container and apply port forwarding (port 80)
- Tag a container state