Deployment with Docker Apply continuous integration models, deploy applications quicker, and scale at large by putting Docker to work Srdjan Grubor BIRMINGHAM - MUMBAI Deployment with Docker Copyright © 2017 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: November 2017 Production reference: 1201117 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78646-900-7 www.packtpub.com Credits Author Copy Editor Srdjan Grubor Stuti Srivastava Reviewer Project Coordinator Francisco Souza Virginia Dias Commissioning Editor Proofreader Vijin Boricha Safis Editing Acquisition Editor Indexer Rahul Nair Aishwarya Gangawane Content Development Editor Graphics Sharon Raj Kirk D'Penha Technical Editor Production Coordinator Prashant Chaudhari Aparna Bhagat About the Author Srdjan Grubor is a software engineer who has worked on projects large and small for many years now, with deployment sizes ranging from small to global. Currently, he is working on solving the world's connectivity problems for Endless OS as a cloud engineer and was one of the first people to become a Docker Certified Associate. He enjoys breaking things just to see how they work, tinkering, and solving challenging problems. Srdjan believes that there is always room for philanthropy in technology. Acknowledgments I'd like to thank every person and company that has spent time working on open source software that has enabled me and countless others to improve their lives and learn things through its use—don't ever stop contributing! As for personal appreciation for help on this book, I'd also like to thank: My family for being the most awesome family one can ask for My girlfriend for being the best partner ever and also keeping me sane through the stress of writing this book in my limited spare time Dora (the kitty) for making me take breaks by sitting on the laptop keyboard Galileo (the sugar glider) for being the cutest rebel pet in the world Endless for introducing me to open source software and encouraging me to contribute back So many others that would fill pages and pages of this book Thank you all from the bottom of my heart! About the Reviewer Francisco Souza is a Docker Captain and a senior software engineer working with video and container technologies at the New York Times. Prior to that, he worked with the open source PaaS Tsuru, created back in 2012 and later adapted to leverage Docker for container deployment and management. Other than video and containers, Francisco also likes to explore topics related to concurrency, parallelism, and distributed systems. He has also contributed as a reviewer to Extending Docker, Russ McKendrick, Packt and Docker Networking Cookbook, Jon Langemak, Packt.