1. Trang chủ
  2. » Công Nghệ Thông Tin

IT training docker for java developers NGINX khotailieu

89 32 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 89
Dung lượng 5,28 MB

Nội dung

Docker for Java Developers Package, Deploy, and Scale with Ease Arun Gupta Beijing Boston Farnham Sebastopol Tokyo Docker for Java Developers by Arun Gupta Copyright © 2016 O’Reilly Media, Inc All rights reserved Printed in the United States of America Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472 O’Reilly books may be purchased for educational, business, or sales promotional use Online editions are also available for most titles (http://safaribooksonline.com) For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com Editor: Brian Foster Production Editor: Melanie Yarbrough Copyeditor: Christina Edwards Proofreader: Colleen Toporek Interior Designer: David Futato Cover Designer: Karen Montgomery Illustrator: Rebecca Demarest First Edition June 2016: Revision History for the First Edition 2016-06-08: 2016-09-16: First Release Second Release The O’Reilly logo is a registered trademark of O’Reilly Media, Inc Docker for Java Developers, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limi‐ tation responsibility for damages resulting from the use of or reliance on this work Use of the information and instructions contained in this work is at your own risk If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsi‐ bility to ensure that your use thereof complies with such licenses and/or rights 978-1-491-97442-1 [LSI] Table of Contents Foreword v Preface vii Introduction to Docker Docker Concepts Docker Images and Containers Installing Docker Docker Tools Kubernetes Other Platforms 16 20 Docker and Your First Application 23 Dockerfile Build Your First Docker Image Run Your First Docker Container Push Image to Docker Hub Multicontainer and Multihost Applications Deploying Using Docker Compose and Docker Swarm Deploying Using Kubernetes 23 24 27 28 30 31 40 Docker and Java Tooling 45 NetBeans Eclipse IntelliJ IDEA Maven 45 48 51 55 iii Application Deployment 59 Load Balancing Caching Health Monitoring 59 64 70 Conclusion 75 Getting Started with Java and Docker iv | Table of Contents 76 Foreword Docker is a seeming overnight sensation in application development and delivery Only a few years ago it was a small open source project like many others Now Docker is firmly established as a fundamen‐ tal technology for companies that are moving applications to the cloud, building microservices, adopting continuous integration and delivery, or even simply making traditional-style apps more secure, resilient, and robust Not that long ago, Java was an overnight sensation of its own Java helped bring object-oriented programming to the mainstream, while combining high performance and broad portability of code Java is now the most popular and widely used programming lan‐ guage NGINX is extremely popular in the Docker world and, to a growing degree, the Java world as well So uniting Docker, Java, and NGINX makes great sense Luckily, it’s Arun Gupta who has stepped up to bring these technolo‐ gies together Arun was a driving force behind the development and early popularity of Java, first at Sun, then at Oracle He’s continued to work at the cutting edge of technology, helping to evangelize both Docker and Kubernetes In this ebook, Arun provides a complete introduction and user’s guide to Docker for Java developers Arun explains why Docker is so important, then shows how Java developers can easily develop and deploy their first Java application using popular, Java-friendly tools––including NGINX v As Arun explains, NGINX and NGINX Plus serve as reverse proxies for Docker-based applications Java clients depend on NGINX Plus to manage functions critical for app success, such as caching, load balancing, and health monitoring NGINX continues to be one of the most frequently downloaded applications on Docker Hub, with more than 10 million pulls to date We’re sure that guided by this excellent ebook, increasing num‐ bers of Java developers will also discover how NGINX and NGINX Plus can make their apps better than ever We hope you enjoy this ebook and that it helps you succeed as you deploy containers in pro‐ duction — Floyd Smith, Technical Marketing Writer, NGINX, Inc vi | Foreword ... explicitly registered to a discovery service in Docker Swarm Pluggability Swarm mode is built using SwarmKit This is a toolkit for orchestrating distributed systems By default, it comes with Docker... Containers provide several benefits over traditional VM-based deployments Faster startup and deployments, security and network sandboxing, higher density, and portability across different environ‐... with Docker Acknowledgments I would like to express gratitude to the people who made writing this book a fun experience First and foremost, many thanks to O’Reilly for providing an opportunity

Ngày đăng: 12/11/2019, 22:17

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN