Docker в последняя время набрал огромную популярность как инструмент разработчиков и DevOps-специалистов, но все ещё не так активно используется для автоматизированного тестирования. Во время воркшопа я поделюсь несколькими сценариями, когда Docker может помочь автоматизировать то что ранее считалось непригодным к автоматизации. Также, мы попробуем создать свой собственный образ и запустить несколько контейнеров используя docker-compose.
2. 2CONFIDENTIAL
SPEAKER NAME
Andrei Varabyeu
EPAM Systems, Solution Architect
Architect and Key Developer of
ReportPortal
5 years with EPAM and 7 years in IT
Areas: Software Development and
Automated Testing
Technologies: JVM-based stack
6. 6CONFIDENTIAL
–Engineers need to spend time on setting up local
environment which is not productive
–Setting up new environment is expensive
–Integration problems with different Operating Systems
–Building different app packs for different environments
Environment problems
10. 10CONFIDENTIAL
1950x: Cargo Hell
Multiplicity of goods
Multipilicity of methods
for transporting/storing
Do I worry about how
goods interact
(e.g. coffee beans next
to spices)
Can I transport quickly
and smoothly
(e.g. from boat to train to
truck)
Source: http://www.slideshare.net/dotCloud/why-docker
12. 12CONFIDENTIAL
Solution: Intermodal Shipping Container
…in between, can be loaded
and unloaded, stacked,
transported efficiently over
long distances, and transferred
from one mode of transport to
another
A standard container that
is loaded with virtually
any goods, and stays
sealed until it reaches
final delivery.
Source: http://www.slideshare.net/dotCloud/why-docker
13. 13CONFIDENTIAL
Malcom McLean
• Massive reduction in losses due to theft or
damage
• Huge reduction in freight cost as percent of
final goods (from >25% to <3%)
• 90% of all cargo now shipped in a standard
container
• Order of magnitude reduction in cost and time to
load and unload ships
Source: http://www.slideshare.net/dotCloud/why-docker
14. 14CONFIDENTIAL
Docker is a shipping container system for code
Development
VM QA server Public Cloud
Contributor’s
laptopProduction
Cluster
Customer Data
Center
Static website
User DB Analytics DBQueueWeb frontend
DevOps: Configure
Once, Run Anything
Developer/QA:
Build Once, Run
Anywhere
Source: http://www.slideshare.net/dotCloud/why-docker
15. 15CONFIDENTIAL
What it means?
Engineer can setup environment and
start creating
the value within 5 minutes
Each Engineer. You don’t need to be
an expert in DevOps