Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Developer workflow with docker


Published on

Overview of available solutions for running Docker containers from development to production.

Published in: Software
  • Get the best essay, research papers or dissertations. from ⇒ ⇐ A team of professional authors with huge experience will give u a result that will overcome your expectations.
    Are you sure you want to  Yes  No
    Your message goes here

Developer workflow with docker

  1. 1. Developer Workflow with Docker From Development to Production
  2. 2. Disclaimer I am not trying to create a generalized workflow for all application developers. The idea is to give an overview of available solutions.
  3. 3. $ whoami ● Lalatendu Mohanty ● @lalatenduM on Twitter. ● lalatenduM on Freenode. ● Homepage/Blogs : ● Working for Red Hat as a software engineer.
  4. 4. Things I am trying to cover in this talk ● Opinionated workflow for Kubernetes and Docker Compose/Swarm. ● As I have just 30 minutes for the presentation, I will only demo one project from each Kubernetes and Docker Compose/Swarm ecosystem. Note: Pivotal Cloud Foundry is absent in this the talk as they do not directly use Kubernetes or Docker Compose/Swarm.
  5. 5. Docker Compose Ecosystem ● Docker Toolbox (For Non-Linux/GNU OS) ○ Docker Compose ○ Docker Swarm ● Linux/GNU distributions have native support. ● Managing Production deployments. ○ Docker Cloud ○ Rancher 1.0 Note : Due to lack to time I am going to talk about Docker Cloud in this presentation.
  6. 6. Docker Cloud
  7. 7. Docker Cloud Salient Features ● Unified Interface for managing containers on public cloud and privately hosted machines ● Integration with Docker Compose and Docker Swarm. ● Integration with Docker Hub (public and private repositories) ● Security scanning in Docker Cloud
  8. 8. Docker Cloud Live Demo
  9. 9. Kubernetes ● Automating deployment, scaling, and management of containerized applications. ● Various ways to set up local development environment e.g. minikube, kmachine, Red Hat CDK.
  10. 10. Why PaaS? ● Complete lifecycle management of application. ● Developers can deploy application without help from operation team. ● Stable and transparent developer workflow. ● Supports the idea of continuous deployment (DevOps).
  11. 11. Cloud Native Paas Based On Kubernetes ● Deis ○ Deis builds upon Docker and CoreOS to provide a lightweight Paas. ● OpenShift ○ Uses Docker and Kubernetes and builds on top of it. ● Kel All of the above Paas solutions are open source. Both Deis and OpenShift supports both private and public Clouds. ● Rancher 1.0 also have a nice interface and tooling to deploy containers on a Kubernetes cluster. ● There are Kubernetes support in Public clouds too.
  12. 12. OpenShift ● Local development environment through ADB/CDK ○ ADB : Atomic Developer Bundle. ○ CDK: Container Development Kit. ● OpenShift Online. ● OpenShift Origin. ● OpenShift Dedicated.
  13. 13. OpenShift ● Automates application builds, deployments, scaling, health management and more. ● Developers have the choice and the ability to run multiple languages, frameworks, and databases on the same platform. ● It is a self service platform for application developers. ● Runs on top of physical or virtual, public or private cloud, and even hybrid cloud infrastructure. ● OpenShift dedicated for deploying/running it on public cloud e.g. AWS and Google Compute Engine. ● Suited for running micro-services kind of applications.
  14. 14. OpenShift Salient Features ● Uses Kubernetes orchestration, management and Docker as the container technology. ● Automated image builds and promotion. ● Deployments integrated with builds and CI. ● Source to image build process. ● Integrated networking (SDN, DNS, routing) for container networking. ● Fully integrated Docker registry. ● Integrate with Docker Hub and other 3rd party enterprises registries. ● Support for persistent volumes with various cloud storage solutions. ● Integrated enterprise features e.g authentication (LDAP etc), quota etc.
  15. 15. OpenShift Architecture
  16. 16. OpenShift Demo On CDK
  17. 17. Red Hat Container Development Kit 2.0 ● Development environment same as the production environment. ● Easiest way to setup OpenShift. ○ One command to set up/destroy i.e. “vagrant up” roy" and “vagrant destroy” ○ There are templates of sample applications. ● Quickly get single node Kubernetes setup or Docker run time Windows, OS X, Linux/GNU. ● Overview: ● The upstream project of CDK is called Atomic Developer Bundle.
  18. 18. How to get CDK? ● Sign up for ● Follow:
  19. 19. Atomic Developer Bundle ● Upstream community project of Red Hat Container Development Kit. ● Helps to create developer environment for Docker, OpenShift Origin, Kubernetes, Mesos Marathon. ● Github Url:
  20. 20. Questions?
  21. 21. References ● Native-PaaS.html ● ● ●