Post on 07-Jan-2017
transcript
What is Docker?Docker is an open source tool for running isolated containers on Linux making the deployment of apps inside containers faster. Docker creates portable, self-sufficient containers from any application.
ThesamecontainerthatthedeveloperbuildsandtestsonhisPC,canruninproduction,onVMs,inthecloudandalotmoreplaces.
Youcanrunasingleservicepercontainer,e.g.onecontainerforyourMySQL,onecontainerforyourApache,andonecontainerforyourWordPressinstallation.
Docker containers vs. VMs
TheabilitytoseparateanapplicationfromtheunderlyingLinuxoperatingsystemisveryattractive.ComparingDockercontainerstoVMsisavalidthing,althoughDockercontainersdonotreplaceVMs.
Container & Container-as-a-ServiceContainers have been around for quite a while. Although it never really became something like an “industry standard”, Docker made it all possible.
Docker is basically built on top of LXC (Linux Containers). It’s definitely not a replacement for LXC, instead Docker offers some high level features on top of LXC
The growth of the Container-as-a-Service business is immense.
Real-world use cases for web developers
Dockerisbasicallydesignedinawaythatitcanbeusedinmanydifferentuse
cases.
BigcommunityWithitsgrowingcommunityof
developers,therearethousandsofready-to-gocontainersforpopular
applicationslikeMySQLorWordPress.
LocalDevelopmentWorkingwithDockercontainerson
localenvironmentisatrueproductivityboosteranddefinitelysavesyousomelastminutehassle.
AppisolationWithDockeryoubasicallyrunoneapplicationorprocesspercontainer.Containerstakeadvantageofthe
abilitytocreateisolatedenvironments.
RapiddeploymentWithDocker,youcanhave
everythingup-and-runningwithinseconds.Bysimplycreatinga
containerandnotbootingupanOS,wedefinitelyseesometimesaved.
Security benefits of Containers
Running various containers can provide some security benefits. By running applications on various containers, each container only has access to the ports and files explicitly exposed by the other container.
Further on, containers offer a higher level of control on what data and software are installed. Some malodorous script run in one container, won’t affect any other container.
Simplified testing
SettinguptestingenvironmentswithDockercontainersissuper-easy.
BysettingupdifferentDockercontainersfortesting,youcandramaticallyspeedupyourtestsuitebyseparatingdifferentversionsindifferentcontainers.
Easy configuration
SettinguptestingenvironmentswithDockercontainersissuper-easy.
BysettingupdifferentDockercontainersfortesting,youcandramaticallyspeedupyourtestsuitebyseparatingdifferentversionsindifferentcontainers.