Docker for Developers

4.7 (3 reviews total)
By Richard Bullington-McGuire , Andrew K. Dennis , Michael Schwartz
    Advance your knowledge in tech with a Packt subscription

  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Section 1: An Introduction to Docker – Containers and Local Development

About this book

Docker is the de facto standard for containerizing apps, and with an increasing number of software projects migrating to containers, it is crucial for engineers and DevOps teams to understand how to build, deploy, and secure Docker environments effectively. Docker for Developers will help you understand Docker containers from scratch while taking you through best practices and showing you how to address security concerns.

Starting with an introduction to Docker, you’ll learn how to use containers and VirtualBox for development. You’ll explore how containers work and develop projects within them after you’ve explored different ways to deploy and run containers. The book will also show you how to use Docker containers in production in both single-host set-ups and in clusters and deploy them using Jenkins, Kubernetes, and Spinnaker. As you advance, you’ll get to grips with monitoring, securing, and scaling Docker using tools such as Prometheus and Grafana. Later, you’ll be able to deploy Docker containers to a variety of environments, including the cloud-native Amazon Elastic Kubernetes Service (Amazon EKS), before finally delving into Docker security concepts and best practices.

By the end of the Docker book, you’ll be able to not only work in a container-driven environment confidently but also use Docker for both new and existing projects.

Publication date:
September 2020


Section 1: An Introduction to Docker – Containers and Local Development

In this section, we introduce the reader to the technologies, skills, and steps involved in developing applications using Docker Containers. We begin by tracing the history of hosting and why we need Docker in the first place. We then demonstrate the differences between virtualization and containerization, using VirtualBox to create simple virtual machines and using Docker to create a simple PHP application with state. We discuss how applications involving multiple containers working together (microservices) are the ultimate way to use containers, and present a simple CRUD demo involving several containers, including some prepared by third parties and shared with us on Docker Hub. Finally, we present the Docker Compose tool as a means to orchestrate complete applications made up of multiple containers, while providing private access between the containers.

This section comprises the following chapters:

  • Chapter 1, Introduction to Docker
  • Chapter 2, Using VirtualBox and Docker Containers for Development
  • Chapter 3, Sharing Containers Using Docker Hub
  • Chapter 4, Composing Systems Using Containers

About the Authors

  • Richard Bullington-McGuire

    Richard Bullington-McGuire is a software architect and DevOps practitioner with more than 28 years of professional experience in information technology. He has operated internet services continuously since 1995 when he established The Obscure Organization. He has used Docker to build, deploy, and run applications in production, including operating the Freezing Saddles winter cycling event since 2018. Richard is a member of the IEEE and the ACM. He holds 6 AWS certifications, including all of the Foundational, Associate, and Professional level certifications. He works at Modus Create, Inc. as director of engineering. You can find him on Twitter and GitHub at @obscurerichard. Richard lives in Arlington, VA, with his wife and four children.

    Browse publications by this author
  • Andrew K. Dennis

    Andrew K. Dennis is a full stack and cybersecurity architect with over 17 years' experience who currently works for Modus Create in Reston, VA. He holds two undergraduate degrees in software engineering and creative computing and a master's degree in information security. Andy has worked in the US, Canada, and the UK in software engineering, e-learning, data science, and cybersecurity across his career, and has written four books on IoT, the Raspberry Pi, and supercomputing. His interests range from the application of pataphysics in computing to security threat modeling. Andy lives in New England and is an organizer of Security BSides CT.

    Browse publications by this author
  • Michael Schwartz

    Michael Schwartz is a full stack software engineer, architect, and embedded engineer for Modus Create, with over 45 years' experience as a professional. He founded one of the first public ISPs in the SF Bay Area, Best Internet Communications, and an early internet advertising agency, MediaPlex. He was one of the early developers of video games, including the upright coin-operated machines and consoles. His most recent project is RoboDomo, a home automation system built around Node.js, Docker containers, MQTT, and React.js. Originally from Chicago, IL, Mike resides in the Palm Springs area of California.

    Browse publications by this author

Latest Reviews

(3 reviews total)
livre bien et tres lisible
Nothing and don e wxwwwww
no problem, i will buy again

Recommended For You

Book Title
Unlock this book and the full library for FREE
Start free trial