docker, vagrant and kubernetes walk into an eclipse'd bar
TRANSCRIPT
![Page 1: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/1.jpg)
DOCKER, VAGRANT AND KUBERNETES WALK INTO AN ECLIPSE’D BAR
Demo
Max Rydahl AndersenRed Hat
EclipseCon NA 2016, WashingtonMarch 8th, 2016
![Page 2: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/2.jpg)
Docker
![Page 3: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/3.jpg)
DevConf 2016, Brno
DOCKER
3
“Docker allows you to package an application with all of its dependencies into a standardized unit for software development.”
- docker.com
![Page 4: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/4.jpg)
DevConf 2016, Brno
DOCKER
4
Advantages
Lightweight
Fast
Portable
● The whole stack in one container, works everywhere
Security
● Each app in its own sandbox
No installation of apps - just get the image and run
![Page 5: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/5.jpg)
DevConf 2016, Brno
DOCKER PARTS
5
Image
Dockerfile
Registry
Container
Daemon
FROM wildflyADD standalone.xmlRUN yum install jdk-9CMD start.sh
![Page 6: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/6.jpg)
DevConf 2016, Brno
DOCKER AND ECLIPSE
6
Docker Tools part of Linux Tools (but works on OS X and Windows too)
Connect to your existing Docker daemon on any host
Value on top of CLI
Can be reused by other plugins
![Page 7: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/7.jpg)
DEMO
![Page 8: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/8.jpg)
DevConf 2016, Brno
DOCKER DEMO
8
Connect to Docker
Search & Pull images
Dockerfile
Build
Start/stop containers
Linking containers
![Page 9: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/9.jpg)
DevConf 2016, Brno
DOCKER DEMO
9
dockerhostEclipseDocker Tooling
Server Adapter
/deployments
Postgres
WildFly
![Page 10: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/10.jpg)
Vagrant
![Page 11: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/11.jpg)
DevConf 2016, Brno
Vagrant
11
Machine(s) defined in a VagrantFile
Put into your project or externally
Can do “anything”
Basic needs are easy start/stop
![Page 12: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/12.jpg)
DevConf 2016, Brno
Vagrant Tooling
12
![Page 13: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/13.jpg)
DEMOThe State of Docker and Vagrant Tooling in Eclipse
- 17:00 Grand Ballroom C
![Page 14: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/14.jpg)
Kubernetes/OpenShift
![Page 15: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/15.jpg)
DevConf 2016, Brno15Source: http://omerio.com/2015/12/18/learn-the-kubernetes-key-concepts-in-10-minutes/
![Page 16: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/16.jpg)
DevConf 2016, Brno
Kubernetes / OpenShift 3
16
● Kubernetes uses Docker containers and provides higher level management
● Red Hat's Platform-as-a-Service (Paas) build as a layered system exposing underlying Docker and Kubernetes
● Adds source code management, builds, deployment, promotion of images, application management, team and user tracking on top of it
● Runs on-premise, Amazon EC2, Google Cloud Platform and Azure●
● Ops <3
![Page 17: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/17.jpg)
DevConf 2016, Brno17
….how does this affect developers and development ?
![Page 18: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/18.jpg)
DevConf 2016, Brno18
IDE Projects
![Page 19: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/19.jpg)
DEMO
![Page 20: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/20.jpg)
DevConf 2016, Brno
Demo
20
Create projects
Docker containers in OpenShift
Docker Tooling in Eclipse
● Everything you can do from CLI and more
Red Hat Container Development Toolkit + CDK Tooling in Eclipse
● Start/stop● Automatically connect to Docker and OpenShift from Eclipse
OpenShift 3 in Eclipse
![Page 21: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/21.jpg)
DevConf 2016, Brno
Ideas.Next
21
Docker Server Adapters
Run java apps in isolated containers directly from Eclipse
- “Che” style runtimes
More Incremental deployment
docker rsync
maven kubernetes sync
“OpenShift-in-a-box” - Red Hat Container Development Kit
- Vagrant driven setup that gives you docker and openshift locally- Use cli or IDE’s especially Eclipse smoothly
In short: anything that makes the distance from idea to refresh shorter
![Page 22: docker, vagrant and kubernetes walk into an eclipse'd bar](https://reader033.vdocument.in/reader033/viewer/2022050901/58a2e9361a28ab41128b8e54/html5/thumbnails/22.jpg)
DevConf 2016, Brno
QUESTIONS ?
22
Eclipse Linux Tools
tools.jboss.org
eclipse.org/linuxtools
https://github.com/mmalina/wildfly-db-docker
developers.redhat.com
www.openshift.org