O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Messaging with the Docker

3.111 visualizações

Publicada em

Messaging with the Docker.

Publicada em: Tecnologia
  • Entre para ver os comentários

Messaging with the Docker

  1. 1. Messaging with Brought to you by Henryk Konsek
  2. 2. What is... Engine for running and managing Linux containers.
  3. 3. What are Linux containers? Para-virtualized Linux instances.
  4. 4. Docker == LXC ? ● Docker used to be based on LXC (LinuX Containers) ● but not anymore ● now Docker provides custom API over cgroups and stuff
  5. 5. Why not regular virtualization? ● slooooooow ● gigantic images ● aggresive resource allocation ● bad API
  6. 6. Key concepts ● image (immutable, no state) ● container (has state) ● parent images (layers)
  7. 7. Docker awesomeness #1 Commands.
  8. 8. Docker awesomeness #2 +WAR +Tomcat +JRE Ubuntu base Layers.
  9. 9. Docker awesomeness #3 Repositories.
  10. 10. Dockerfiles FROM ubuntu EXPOSE 8080 RUN sudo apt-get install java RUN wget http://maven.app.com/app.jar ENTRYPOINT java -jar app.jar “Recipes” for the new images.
  11. 11. Create new image in local repo $ docker build -t app/app-1.0 $ docker run app/app-1.0
  12. 12. Docker == deployment 2.0 ● create single image ● move it between environments (dev, QA, production)
  13. 13. Deployment 2.0
  14. 14. Dockerize everything
  15. 15. Single box problem You can’t deploy everything to the single box.
  16. 16. Single box problem solution We need kinda proxy aggregating many Docker servers.
  17. 17. Docker aggregators ● libswarm ● flocker
  18. 18. Messaging and Docker
  19. 19. Docker routers ● the same role as OSGi bundles ● no VM transports ● communication usually via REST or JMS
  20. 20. “Bootified” & “Dockered” Camel routers ● You need a bootstrap logic ● Spring Boot can scan classpath to find new routes ● Fuse 6.2 Fabric8 comes with Spring Boot Camel support
  21. 21. Docker future at Fabric8 Docker will become the recommended target container.
  22. 22. Docker future at Red Hat Docker images will be a standard way to distribute middleware products.
  23. 23. Docker ecosystem future #1 (Red Hat’s) Project Atomic.
  24. 24. Docker ecosystem future #2 (Red Hat’s) Geard.
  25. 25. Thank you!

×