4. Why Docker?
• Easily to manager containers
• Build specify environment for project
• Isolated workspace
• Package it and be portable
• Replicable - lower barrier to entry for new
environments, teams
• No “dependence hell”
7. Build
• Use Dockerfile
• Keep layers to minimum
• Use tags for version control
• Use .dockerignore
(the same syntax as .gitignore)
• One container per service
• Manage output
• GNU Make is optional
Just for presentation,
make better one
for your services
😉
23. Pros
• Logs
• Build specify environment for target service
• Service management (start, stop, restart)
• Manage environment variables (one container for
few environments)
24. Cons
• SSH
• Time to build (can be depends on various factor,
for example docker cache)
• Jenkins plugin exit with 0, even if fails, that bring up
misunderstanding
• Unmounted volumes