Synopses & Reviews
Containerization is the next step beyond virtualization, offering the potential to move applications into smaller virtual entities that are more flexible, more portable, and easier to secure. Much of the massive excitement and investment surrounding containerization is focused on Docker, which has emerged as today's #1 open source containerization project (and the second most popular open source project of all). The Docker project has gained support from major technology companies ranging from Red Hat to Microsoft, Google to Rackspace. Meanwhile, the Docker software has matured to the point where it is being used in production to solve real problems. Now, there's a complete, practical guide to doing just that: The Docker Book.
¿
World-renowned Linux author Christopher Negus has spent the past year helping Red Hat create pioneering documentation for Docker. He's brought together all the knowledge developers need to build Docker containers, and all the knowledge administrators need to run, manage, orchestrate, and troubleshoot them. Negus begins by explaining how containers can overcome development, administration, and security problems that virtualization hasn't solved. He reviews the current state of containerization and Docker project, assesses Docker alternatives, and helps you decide whether Docker is right for your application. Next, he teaches Docker through a series of step-by-step demonstrations built on the open source Fedora distribution of Linux. You'll learn how to:
- Set up your Docker environment, start the service, and get familiar with the Docker environment
- Connect with Docker registries, private and public
- Launch, check out, and manipulate containers
- Build Docker images and create them from containers
- Use Dockerfiles to update containerized software, install packages, mount filesystems, and perform many other tasks
- Choose your run-time operating environment (local, cloud, or bare metal)
- Build complex Docker solutions by orchestrating multiple containers
- Apply best practices for containerization, container development, and host management
If you're excited to explore Docker and containerization, chances are you've been searching for information that's authoritative, up-to-date, reliable, and usable. You've just found it: Christopher Negus's The Docker Book.
Synopsis
The Practical Guide to Running Docker on Linux Systems or Cloud Environments
Whether on your laptop or a remote cloud, Docker can transform how you create, test, deploy, and manage your most critical applications. In Doc ker Containers , Christopher Negus helps you master Docker containerization from the ground up.
You'll start out running a few Docker container images in Ubuntu, Fedora, RHEL, CoreOS, or Project Atomic. By the time you've finished, you'll be deploying enterprise-quality, multi-container Kubernetes setups in modern Linux and cloud environments.
Writing for system administrators, software developers, and technology enthusiasts, Negus touches on every aspect of working with Docker: setting up containerized applications, working with both individual and multiple containers, running containers in cloud environments, and developing containers.
Teaching through realistic examples of desktop applications, system services, and games, Negus guides you through building and deploying your own Dockerized applications. As you build your expertise, you'll also learn indispensable Docker best practices for building and integrating containers, managing Docker on a day-to-day basis, and much more:
- Understanding what Docker is and what you can do with it
- Installing Docker on standard Linux or specialized container operating systems such as Atomic Host and CoreOS
- Setting up a container runtime environment and private Docker Registry
- Creating, running, and investigating Docker images and containers
- Finding, pulling, saving, loading, and tagging container images
- Pulling and pushing containers between local systems and Docker Registries
- Integrating Docker containers with host networking and storage
- Building containers with the docker build command and Dockerfile files
- Minimizing space consumption and erasing unneeded containers
- Accessing special host privileges from within a container
- Orchestrating multiple containers into complex applications with Kubernetes
- Using super privileged containers in cloud environments
- Managing containers in the cloud with Cockpit
- Getting started with Docker container development
- Learning container build techniques from shared Dockerfiles
This book is part of the Pearson Content Update Program. As the technology changes, sections of this book will be updated or new sections will be added. The updates will be delivered to you via a free Web Edition of this book, which can be accessed with any Internet connection.
Table of Contents
1. Containerizing Applications
2. Setting Up a Docker Environment (Demo)
3. Connecting to Docker Registries (Demo)
4. Starting Up Containers (Demo)
5. Making Docker Images from Containers (Demo)
6. Building Docker Images (Demo)
7. Choosing What to Do in a Dockerfile (Demo)
8. Choosing a Runtime Operating Environment (Demo)
9. Learning Container Development Best Practices
10. Trying Examples of Docker Containers (Demo)
11. Orchestrating Docker Containers (Demo)
12. Managing Docker Hosts (Demo)