“Docker is a tool that can package an application and its dependencies in a virtual container that can run on any Linux server. This helps enable flexibility and portability on where the application can run, whether on premises, public cloud, private cloud, bare metal, etc.” Linux.com. Retrieved August 9, 2013.
Installation
- Install Docker in CentOS
1 | sudo yum install -y yum-utils \ |
- Post Install
1 | sudo systemctl enable docker |
Basic command
1 | docker build -t simple-web-server . |
1 | docker run --name my-web-server -d -p 3000:3000 simple-web-server |
Ref
Docker: https://www.docker.com/