View
1.291
Download
4
Category
Preview:
DESCRIPTION
'Deploying with GlassFish & Docker' by Shanny Anoep, Senior Consultant at C2B2. Lightening talk delivered at the first London GlassFish User Group (GUG) event on the 18th of September 2013.
Citation preview
© C2B2 Consulting Limited 2013All Rights Reserved
Deploying GlassFish with Docker
Shanny Anoep
© C2B2 Consulting Limited 2013All Rights Reserved
Agenda
• What is Docker?• How does it work?• Why use it?• Demo: GlassFish on Docker
© C2B2 Consulting Limited 2013All Rights Reserved
What is Docker?
• Build Containers– Lightweight– Portable– Self-sufficient
• Not a virtual machine• But it’s more!
© C2B2 Consulting Limited 2013All Rights Reserved
What is Docker?
Source: docker.io
© C2B2 Consulting Limited 2013All Rights Reserved
How does it work?
• Linux Containers (LXC)• AUFS Filesystem• Docker daemon + CLI• Port forwarding
© C2B2 Consulting Limited 2013All Rights Reserved
Why use Docker?
• Identical environments– From Dev To Production
• Scalability– Quickly scale up
• Multi-tenant environments– Build your own PaaS / SaaS
© C2B2 Consulting Limited 2013All Rights Reserved
Why use Docker?
• Continuous integration– Self-contained test environments
• Efficiency– Share resources across containers
© C2B2 Consulting Limited 2013All Rights Reserved
Demo
• Create Docker container• Dockerfiles• GlassFish on Docker
Recommended