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. Create new image in local repo
$ docker build -t app/app-1.0
$ docker run app/app-1.0
12. Docker == deployment 2.0
● create single image
● move it between environments (dev, QA,
production)
19. Docker routers
● the same role as OSGi bundles
● no VM transports
● communication usually via REST or JMS
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. Docker future at Fabric8
Docker will become the recommended target
container.
22. Docker future at Red Hat
Docker images will be a standard way to
distribute middleware products.