SlideShare a Scribd company logo
Containers #101
Docker Build & Test Flow
May 2016
About the meetup
• A series webinars & in person meetups
• Hands On
• Online session are recorded
• Question and Topics suggestion email
brittany@codefresh.io
Recording available at
https://vimeo.com/channels/containers101
Build & Test Docker
images
May 2016
About me
• Developer, entrepreneur and technology
enthusiast
• Live in the Silicon Valley since 2008
• Organizer of Containers 101
• Founder and CEO of Codefresh
@RazielTabib
About Codefresh
Continuous Integration & Collaboration
platform for Docker images and
microservices
@codefresh
www.codefresh.io
Codefresh customers:
What we will see today
• Docker intro
• Docker benefits for the Agile teams
• Live Demo
• Q&A
Recording available at
https://vimeo.com/channels/containers101
Intro to Docker
• A technology for building/running software in an isolated
operating environment
• Provide process/resource isolation while running on a
single shared OS kernel
• Different than VM -> lighter, faster & easily integrated
VMDocker
Terminology
Docker Images
Blueprints of our application
ubuntu & node
mongo
ubuntu & Go
redis
Docker image
Docker image
Docker image
Docker image
Terminology
Docker Images
Blueprints of our application
Docker Container
Created from docker images and are real instances of our application
Docker container
Docker container
Docker containerubuntu & node
mongo
ubuntu & Go
redis
Docker image
Docker image
Docker image
Docker image
Terminology
Docker Images
Blueprints of our application
Docker Container
Created from docker images and are real instances of our application
Docker Daemon
Building, running and distributing Docker containers
Docker Client
Run on our local machine and connect to the daemon
Docker machine
Setup Docker hosts (locally or remotely)
Docker Swarm
Native clustering for Docker
Docker Compose
Compose is a tool for defining and
running multi-container Docker
applications.
Complete documentation @
https://docs.docker.com/compose/overview/
Docker Compose example
Version: ‘2’
Services:
Web:
build: .
mongo:
image: mongo:latest
docker-compose.yml
nodejs Mongo
Lets chat app
Docker Toolbox
https://www.docker.com/products/docker-toolbox
Benefits for Dev & Test
➢ Continuous Integration
➢ Parallelized integration tests
Staging ProductionBuild
<>
Commit/PR
Unit Test
<>
Commit/PR
<>
Commit/PR
Integration Test
composition composition composition
Unit & Integration Test
Benefits for Dev & Test
➢ Continuous Integration
➢ Parallelized integration tests
➢ Collaboration
➢ Feature Preview
➢ Early manual and UX tests
Demo
Additional resources
• Codefresh blog www.codefresh.io/blog
• Vimeo channel www.vimeo.com/channels/containers101
• Containers #101
http://www.meetup.com/Containers-101-meetup/
• Check us out @
www.codefresh.io
@codefresh

More Related Content

PPTX
Containers #101 Meetup: Docker Build & Test Flow
PDF
Dockercon 2018 Announcement
PDF
Play 2 Java Framework with TDD
PDF
Continuous Integration
PPTX
ACM Gazi Docker?
PPTX
Cross-platform Mobile Development on Open Source
PDF
Docker Switzelrand Meetup #18 DockerCon Recap
PPTX
Introduction to Containers & Diving a little deeper into the benefits of Con...
Containers #101 Meetup: Docker Build & Test Flow
Dockercon 2018 Announcement
Play 2 Java Framework with TDD
Continuous Integration
ACM Gazi Docker?
Cross-platform Mobile Development on Open Source
Docker Switzelrand Meetup #18 DockerCon Recap
Introduction to Containers & Diving a little deeper into the benefits of Con...

What's hot (20)

PDF
Implementing Certificate Based Authentication for HCL Traveler Access - Enga...
PDF
Marco bizzantino Microsoft-Docker Meetup #4 Docker bday intro
PDF
Jenkins + Docker = Continuous Improvement
PPTX
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
PPTX
Unicom DevCon - CI/CD for Asp.net core apps using Docker
PDF
Introduction to Docker - Learning containerization XP conference 2016
PPTX
Engage 2020 - Ad19. Engaging users with HCL Connections Touchpoint and User I...
PDF
Second Screen Apps with the Google Cast SDK
PPTX
Microsoft &lt;3 Open Source
KEY
ColdFusion Builder extensions (CFCamp 2012)
PPTX
Docker for developers - The big picture
PPTX
CI/CD for Asp.net core apps using Docker
PPTX
Test Automation Workshop with BDD Approach
PPTX
JENKINS Training
PDF
Contribute 101: Engine/Swarm/ContainerD by Phil Estes
PDF
Drone Continuous Integration
PPTX
CI CD using Docker and Jenkins
PDF
Introduction to Zend framework Boilerplate
PPTX
React Native Intro
Implementing Certificate Based Authentication for HCL Traveler Access - Enga...
Marco bizzantino Microsoft-Docker Meetup #4 Docker bday intro
Jenkins + Docker = Continuous Improvement
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
Unicom DevCon - CI/CD for Asp.net core apps using Docker
Introduction to Docker - Learning containerization XP conference 2016
Engage 2020 - Ad19. Engaging users with HCL Connections Touchpoint and User I...
Second Screen Apps with the Google Cast SDK
Microsoft &lt;3 Open Source
ColdFusion Builder extensions (CFCamp 2012)
Docker for developers - The big picture
CI/CD for Asp.net core apps using Docker
Test Automation Workshop with BDD Approach
JENKINS Training
Contribute 101: Engine/Swarm/ContainerD by Phil Estes
Drone Continuous Integration
CI CD using Docker and Jenkins
Introduction to Zend framework Boilerplate
React Native Intro
Ad

Similar to Containers #101 Meetup: Docker Build & Test Flow (20)

PPTX
Containers #101 Meetup: Docker Build & Test Flow
PDF
Docker Concepts for Oracle/MySQL DBAs and DevOps
PPTX
Cultural Change using Docker (DockerCon 2015)
PPTX
DockerCon SF 2015: Cultural Change using Docker
PPTX
Containers #101 Meetup: Building a micro-service using Node.js and Docker - P...
PDF
Docker Hub Breakout Session at DockerCon by Ken Cochrane
PDF
Containers and microservices for realists
PDF
Containers and Microservices for Realists
PPTX
Docker bday #4 intro deck
PPTX
DockerCon 15 Keynote - Day 2
PPTX
Streamline Cloud-Native App Development Using CDEs​.pptx
PDF
DockerPenang Meetup#1
PPTX
Micro Services in .NET Core and Docker
PPTX
Dockerize the World - presentation from Hradec Kralove
PPTX
Going crazy with docker multi stage build - Jorge Arteiro
PDF
Introduction to Docker | Docker and Kubernetes Training
PDF
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
PPTX
Dockerize the World
PPTX
Containers #101 : Docker ONBUILD triggers and Introduction to Docker Compose
PPTX
DockerCon14 Keynote
Containers #101 Meetup: Docker Build & Test Flow
Docker Concepts for Oracle/MySQL DBAs and DevOps
Cultural Change using Docker (DockerCon 2015)
DockerCon SF 2015: Cultural Change using Docker
Containers #101 Meetup: Building a micro-service using Node.js and Docker - P...
Docker Hub Breakout Session at DockerCon by Ken Cochrane
Containers and microservices for realists
Containers and Microservices for Realists
Docker bday #4 intro deck
DockerCon 15 Keynote - Day 2
Streamline Cloud-Native App Development Using CDEs​.pptx
DockerPenang Meetup#1
Micro Services in .NET Core and Docker
Dockerize the World - presentation from Hradec Kralove
Going crazy with docker multi stage build - Jorge Arteiro
Introduction to Docker | Docker and Kubernetes Training
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Dockerize the World
Containers #101 : Docker ONBUILD triggers and Introduction to Docker Compose
DockerCon14 Keynote
Ad

More from Codefresh (20)

PDF
Detect, debug, deploy with Codefresh and Lightstep
PDF
CICD Pipelines for Microservices: Lessons from the Trenches
PDF
Simplify Your Code with Helmfile
PDF
Making the Most of Helm 3 with Codefresh
PDF
5 Simple Tips for Troubleshooting Your Kubernetes Pods
PDF
Best Practices for Microservice CI/CD: Lessons from Expedia and Codefresh
PDF
Hybrid CI/CD with Kubernetes & Codefresh
PDF
VM vs Docker-Based Pipelines
PDF
Why You Should be Using Multi-stage Docker Builds in 2019
PPTX
Deploy Secure Cloud-Native Apps Fast
PDF
CICD Pipelines for Microservices Best Practices
PDF
Codefresh CICD New Features Launch! May 2019
PDF
Terraform GitOps on Codefresh
PDF
Adding Container Image Scanning to Your Codefresh Pipelines with Anchore
PDF
Image scanning using Clair
PDF
Updating Kubernetes With Helm Charts: Build, Test, Deploy with Codefresh and...
PDF
Docker based-Pipelines with Codefresh
PDF
Automated Serverless Pipelines with #GitOps on Codefresh
PDF
Discovering and Fixing Dependency Vulnerabilities for Kubernetes apps with Sn...
PDF
Net Pipeline on Windows Kubernetes
Detect, debug, deploy with Codefresh and Lightstep
CICD Pipelines for Microservices: Lessons from the Trenches
Simplify Your Code with Helmfile
Making the Most of Helm 3 with Codefresh
5 Simple Tips for Troubleshooting Your Kubernetes Pods
Best Practices for Microservice CI/CD: Lessons from Expedia and Codefresh
Hybrid CI/CD with Kubernetes & Codefresh
VM vs Docker-Based Pipelines
Why You Should be Using Multi-stage Docker Builds in 2019
Deploy Secure Cloud-Native Apps Fast
CICD Pipelines for Microservices Best Practices
Codefresh CICD New Features Launch! May 2019
Terraform GitOps on Codefresh
Adding Container Image Scanning to Your Codefresh Pipelines with Anchore
Image scanning using Clair
Updating Kubernetes With Helm Charts: Build, Test, Deploy with Codefresh and...
Docker based-Pipelines with Codefresh
Automated Serverless Pipelines with #GitOps on Codefresh
Discovering and Fixing Dependency Vulnerabilities for Kubernetes apps with Sn...
Net Pipeline on Windows Kubernetes

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
Spectroscopy.pptx food analysis technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation theory and applications.pdf
PPTX
Machine Learning_overview_presentation.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Weekly Chronicles - August'25-Week II
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cloud_computing_Infrastucture_as_cloud_p
Spectroscopy.pptx food analysis technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
OMC Textile Division Presentation 2021.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Getting Started with Data Integration: FME Form 101
Programs and apps: productivity, graphics, security and other tools
A comparative study of natural language inference in Swahili using monolingua...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation theory and applications.pdf
Machine Learning_overview_presentation.pptx
TLE Review Electricity (Electricity).pptx
Encapsulation_ Review paper, used for researhc scholars

Containers #101 Meetup: Docker Build & Test Flow

  • 1. Containers #101 Docker Build & Test Flow May 2016
  • 2. About the meetup • A series webinars & in person meetups • Hands On • Online session are recorded • Question and Topics suggestion email brittany@codefresh.io Recording available at https://vimeo.com/channels/containers101
  • 3. Build & Test Docker images May 2016
  • 4. About me • Developer, entrepreneur and technology enthusiast • Live in the Silicon Valley since 2008 • Organizer of Containers 101 • Founder and CEO of Codefresh @RazielTabib
  • 5. About Codefresh Continuous Integration & Collaboration platform for Docker images and microservices @codefresh www.codefresh.io Codefresh customers:
  • 6. What we will see today • Docker intro • Docker benefits for the Agile teams • Live Demo • Q&A Recording available at https://vimeo.com/channels/containers101
  • 7. Intro to Docker • A technology for building/running software in an isolated operating environment • Provide process/resource isolation while running on a single shared OS kernel • Different than VM -> lighter, faster & easily integrated VMDocker
  • 8. Terminology Docker Images Blueprints of our application ubuntu & node mongo ubuntu & Go redis Docker image Docker image Docker image Docker image
  • 9. Terminology Docker Images Blueprints of our application Docker Container Created from docker images and are real instances of our application Docker container Docker container Docker containerubuntu & node mongo ubuntu & Go redis Docker image Docker image Docker image Docker image
  • 10. Terminology Docker Images Blueprints of our application Docker Container Created from docker images and are real instances of our application Docker Daemon Building, running and distributing Docker containers Docker Client Run on our local machine and connect to the daemon Docker machine Setup Docker hosts (locally or remotely) Docker Swarm Native clustering for Docker
  • 11. Docker Compose Compose is a tool for defining and running multi-container Docker applications. Complete documentation @ https://docs.docker.com/compose/overview/
  • 12. Docker Compose example Version: ‘2’ Services: Web: build: . mongo: image: mongo:latest docker-compose.yml nodejs Mongo Lets chat app
  • 14. Benefits for Dev & Test ➢ Continuous Integration ➢ Parallelized integration tests Staging ProductionBuild <> Commit/PR Unit Test <> Commit/PR <> Commit/PR Integration Test composition composition composition Unit & Integration Test
  • 15. Benefits for Dev & Test ➢ Continuous Integration ➢ Parallelized integration tests ➢ Collaboration ➢ Feature Preview ➢ Early manual and UX tests
  • 16. Demo
  • 17. Additional resources • Codefresh blog www.codefresh.io/blog • Vimeo channel www.vimeo.com/channels/containers101 • Containers #101 http://www.meetup.com/Containers-101-meetup/ • Check us out @ www.codefresh.io @codefresh