Book description
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 Docker 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
- Cover Page
- About This E-Book
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Preface
- Acknowledgments
- About the Author
-
Part I: Getting Going with Containers
- Chapter 1. Containerizing Applications with Docker
- Chapter 2. Setting Up a Container Run-Time Environment
- Chapter 3. Setting Up a Private Docker Registry
-
Part II: Working with Individual Containers
- Chapter 4. Running Container Images
- Chapter 5. Finding, Pulling, Saving, and Loading Container Images
- Chapter 6. Tagging Images
-
Chapter 7. Investigating Containers
- Inspecting Images and Containers
- Inspecting an Image
- Inspecting Running Containers
-
Finding More Ways to Look into Containers
- Using docker top to See Container Processes
- Using docker attach to Interact with a Service Inside a Container
- Using docker exec to Start a New Process in a Running Container
- Using docker logs to See Container Process Output
- Using docker diff to See How a Container Has Changed
- Using docker cp to Copy Files from a Container
- Summary
- Chapter 8. Starting, Stopping, and Restarting Containers
- Chapter 9. Configuring Container Storage
- Chapter 10. Configuring Container Networking
- Chapter 11. Cleaning Up Containers
- Chapter 12. Building Docker Images
-
Part III: Running Containers in Cloud Environments
- Chapter 13. Using Super Privileged Containers
- Chapter 14. Managing Containers in the Cloud with Cockpit
- Part IV: Managing Multiple Containers
-
Part V: Developing Containers
- Chapter 17. Developing Docker Containers
- Chapter 18. Exploring Sample Dockerfile Files
- Index
- Inside Front Cover
- Inside Back Cover
- Code Snippets
Product information
- Title: Docker Containers: Build and Deploy with Kubernetes, Flannel, Cockpit, and Atomic
- Author(s):
- Release date: December 2015
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134136639
You might also like
book
DevOps with OpenShift
For many organizations, a big part of DevOps’ appeal is software automation using infrastructure-as-code techniques. This …
book
Docker in Practice, Second Edition
Docker in Practice, Second Edition presents over 100 practical techniques, hand-picked to help you get the …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …