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.

Docker Tooling for Java EE Developers

562 views

Published on

Slides of the Docker Tooling for Java EE Developers presentation at Devoxx Belgium 2015

Published in: Software
  • Be the first to comment

  • Be the first to like this

Docker Tooling for Java EE Developers

  1. 1. @xcoulon#Devoxx #Docker #Eclipse Docker Tooling for Java EE Developers Xavier Coulon Red Hat
  2. 2. @xcoulon#Devoxx #Docker #Eclipse About the speaker • Senior Software Engineer • Working at Red Hat for 4 years • JBoss Tools team member • Committer on Docker Tooling at Eclipse.org • Side project: http://github.com/lambdamatic/
  3. 3. Introduction @xcoulon#Devoxx #Docker #Eclipse
  4. 4. @xcoulon#Devoxx #Docker #Eclipse Docker components • Images • Containers • Daemon • Registries • Clients
  5. 5. @xcoulon#Devoxx #Docker #Eclipse Docker Images • "build" components • read-only templates • combination of layers
  6. 6. @xcoulon#Devoxx #Docker #Eclipse Docker Containers • "run" components • based on Images • contain application and dependencies but share same kernel • can be started, stopped, paused, deleted • containers are immutable and disposable
  7. 7. @xcoulon#Devoxx #Docker #Eclipse Docker Daemon • runs natively on Linux • inside aVM on Windows and Mac OS X
  8. 8. @xcoulon#Devoxx #Docker #Eclipse Docker Clients • clients (CLI, IDE) run on hostVM
  9. 9. @xcoulon#Devoxx #Docker #Eclipse Docker Registries • "distribution" components • public instances (https://hub.docker.com) • private instances
  10. 10. @xcoulon#Devoxx #Docker #Eclipse Benefits of Docker • No need for an hypervisor for each container • many containers perVM • less memory/CPU resources • Density, infrastructure utilization
  11. 11. @xcoulon#Devoxx #Docker #Eclipse Benefits of Docker • Package the full stack in a container: • OS, • JVM, • App server • Application with its configuration • Portable across environments • Developer machine • CI / Staging / Production environments • No more "but it works on my machine" argument
  12. 12. @xcoulon#Devoxx #Docker #Eclipse Docker at eclipse.org • Linux tools project (works on Mac OS X and Windows, too) • Make Docker accessible from Eclipse • Works with existing Docker tools (docker-machine, etc.) • Focus on developer experience • Allow reuse by other plugins
  13. 13. @xcoulon#Devoxx #Docker #Eclipse Docker setup • Install Docker Toolbox from docker.com • Install Eclipse Docker tooling • from eclipse.org/linuxtools • from tools.jboss.org (mirrors eclipse.org/linuxtools)
  14. 14. Demo @xcoulon#Devoxx #Docker #Eclipse
  15. 15. @xcoulon#Devoxx #Docker #Eclipse LiveReload basics Browser with LiveReload extension LiveReload Server Disk File WebSocket Monitoring HTTP
  16. 16. @xcoulon#Devoxx #Docker #Eclipse LiveReload in DevStudio Browser (with LiveReload extension) LiveReload Server App Server HTTP WebSocket Publishing DevStudio Docker Container Volume
  17. 17. Conclusion @xcoulon#Devoxx #Docker #Eclipse
  18. 18. @xcoulon#Devoxx #Docker #Eclipse Summary of highlighted features • Manage connection to Docker daemons • Search and pull images • Build custom images from Dockerfile • Run images with ports, volumes and links • Manage containers (start/stop/pause/unpause/kill) • Use a server adapter and LiveReload to publish an application • Remote debug in a container
  19. 19. @xcoulon#Devoxx #Docker #Eclipse Let's Get in Touch ! • http://tools.jboss.org • @jbosstools • #jbosstools • jbosstools-dev@lists.jboss.org • linuxtools-dev@eclipse.org
  20. 20. @xcoulon#Devoxx #Docker #Eclipse Questions & Answers
  21. 21. @xcoulon#Devoxx #Docker #Eclipse Thanks ! Feedback appreciated

×