Learning Docker
- Length: 235 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-05-29
- ISBN-10: 1784397938
- ISBN-13: 9781784397937
- Sales Rank: #3081043 (See Top 100 Books)
Optimize the power of Docker to run your applications quickly and easily
About This Book
- Learn to compose, use, and publish the Docker containers
- Leverage the features of Docker to deploy your existing applications
- Explore real world examples of securing and managing Docker containers
Who This Book Is For
If you are an application developer who wants to learn Docker in order to utilize its features for application deployment, then this book is for you. No prior knowledge of Docker is required.
What You Will Learn
- Build a Docker image using Dockerfiles
- Push and publish images on Docker Hub
- Run your own private Docker Hub and upload images onto it
- Create and run services inside a container to deploy your applications with ease
- Share data between the Docker host and containers
- Orchestrate multiple containers with Docker Compose
- Test and debug applications inside a Docker container
- Secure your Docker containers with SELinux
In Detail
Docker is a next-generation platform for simplifying application containerization life-cycle. Docker allows you to create a robust and resilient environment in which you can generate portable, composable, scalable, and stable application containers.
This book is a step-by-step guide that will walk you through the various features of Docker from Docker software installation to the impenetrable security of containers. The book starts off by elucidating the installation procedure for Docker and a few troubleshooting techniques. You will be introduced to the process of downloading Docker images and running them as containers. You’ll learn how to run containers as a service (CaaS) and also discover how to share data among containers. Later on, you’ll explore how to establish the link between containers and orchestrate containers using Docker Compose. You will also come across relevant details about application testing inside a container. You will discover how to debug a container using the docker exec command and the nsenter tool. Finally, you will learn how to secure your containers with SELinux and other proven methods.
Table of Contents
Chapter 1. Getting Started with Docker
Chapter 2. Handling Docker Containers
Chapter 3. Building Images
Chapter 4. Publishing Images
Chapter 5. Running Your Private Docker Infrastructure
Chapter 6. Running Services in a Container
Chapter 7. Sharing Data with Containers
Chapter 8. Orchestrating Containers
Chapter 9. Testing with Docker
Chapter 10. Debugging Containers
Chapter 11. Securing Docker Containers