Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Meetup Docker : From Zero to Hero
1. Les Meetups Veille Techno’
Meetup Veille Techno’
Docker : From Zero to Hero
2. Les Meetups Veille Techno’
Principles
• Open to all : everybody’s welcome !
– Speakers
– Attendees
• Based on BBL
– A cutting edge technology
– A concept introduced in a customer
• There’s a groupe on Yammer !
13. Les Meetups Veille Techno’
Why developers care
• Build once... (finally) run anywhere
– A clean, safe, hygienic, portable runtime environment for your app.
– No worries about missing dependencies, packages and other pain
points during subsequent deployments.
– Run each app in its own isolated container, so you can run various
versions of libraries and other dependencies for each app without
worrying.
– Automate testing, integration, packaging...anything you can script.
– Reduce/eliminate concerns about compatibility on different platforms,
either your own or your customers.
– Cheap, zero-penalty containers to deploy services. A VM without the
overhead of a VM. Instant replay and reset of image snapshots.
14. Les Meetups Veille Techno’
Why administrators care ?
• Configure once... run anything
– Make the entire lifecycle more efficient, consistent, and
repeatable
– Increase the quality of code produced by developers.
– Eliminate inconsistencies between development, test,
production, and customer environments.
– Support segregation of duties.
– Significantly improves the speed and reliability of continuous
deployment and continuous integration systems.
– Because the containers are so lightweight, address significant
performance, costs, deployment, and portability issues normally
associated with VMs.
26. Les Meetups Veille Techno’
• Dockerfile
– It’s like a makefile, but for your image
– File to build your image
– Plenty of keywords
• FROM
• RUN
• EXPOSE
• CMD
• …
27. Les Meetups Veille Techno’
• Builds
– You have to build you container before running it
– Each command of your Dockerfile create a new
layer in you image
28. Les Meetups Veille Techno’
• Variables
– You can pass environment variables to your runing
container
29. Les Meetups Veille Techno’
• Ports
– You can expose ports from you container
– Without a port, a container cannot be reached
from the outside world
30. Les Meetups Veille Techno’
• Links
– You an link docker containers together without
exposing ports
– Environement variables are predictable
31. Les Meetups Veille Techno’
• Data containers
– Datas are not persisted in a container
– Datas sontainers can act like filesystem for
container
– They can be linked to containers
32. Les Meetups Veille Techno’
• Volumes
– You can pass « anything » you want to a container
– Everything is file in a Linux system
38. Les Meetups Veille Techno’
• Docker swarm is native cluster system for
Docker
• One master, several slaves
• You can decide on which daemon you run
your apps
– Affinity
– Contraint
41. Les Meetups Veille Techno’
• Used to provide Docker on fresh servers
• Lots of backend
– GCE
– AWS
– Virtualbox…
• Define environment variables easily
• Can create easy swarm cluster
45. Les Meetups Veille Techno’
• Docker image to provide stateless, highly
scalable server side application that stores and
lets you distribute Docker images
• Docker hub is public registry
• Great for CI/CD system
46. Les Meetups Veille Techno’
• You can pull images from a private registry
– docker pull registry-1.docker.io/library/ubuntu
47. Les Meetups Veille Techno’
• There is also managed registry from Docker
(not free) and licenced trusted registry
57. Les Meetups Veille Techno’
Ecosystem
• Plennnnnnnty of projects
– Mini-PaaS
– Service discovery
– Orchestrator
– Launcher
• Everyone wants to be part of it !