Learning Docker

Optimize the power of Docker to run your applications quickly and easily

Learning Docker

Learning
Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh

13 customer reviews
Optimize the power of Docker to run your applications quickly and easily
$39.99
$49.99
RRP $39.99
RRP $49.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Preview in Mapt

Book Details

ISBN 139781784397937
Paperback240 pages

Book Description

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
An introduction to Docker
Docker on Linux
Differentiating between containerization and virtualization
Installing the Docker engine
Understanding the Docker setup
Downloading the first Docker image
Running the first Docker container
Running a Docker container on Amazon Web Services
Troubleshooting
Summary
Chapter 2: Handling Docker Containers
Clarifying the Docker terms
Working with Docker images
Working with an interactive container
Summary
Chapter 3: Building Images
Docker's integrated image building system
A quick overview of the Dockerfile's syntax
The Dockerfile build instructions
A brief overview of the Docker image management
Best practices for writing Dockerfiles
Summary
Chapter 4: Publishing Images
Understanding the Docker Hub
Pushing images to the Docker Hub
Automating the building process for images
Private repositories on the Docker Hub
Organizations and teams on the Docker Hub
The REST APIs for the Docker Hub
Summary
Chapter 5: Running Your Private Docker Infrastructure
The Docker registry and index
Docker registry use cases
Run your own index and registry
Push the image to the newly created Docker registry
Summary
Chapter 6: Running Services in a Container
A brief overview of container networking
Envisaging the Container as a Service
Exposing container services
Summary
Chapter 7: Sharing Data with Containers
The data volume
Sharing host data
Sharing data between containers
Avoiding common pitfalls
Summary
Chapter 8: Orchestrating Containers
Linking containers
Orchestration of containers
Summary
Chapter 9: Testing with Docker
A brief overview of the test-driven development
Testing your code inside Docker
Integrating Docker testing into Jenkins
Summary
Chapter 10: Debugging Containers
Process level isolation for Docker containers
Debugging a containerized application
Installing and using nsenter
Summary
Chapter 11: Securing Docker Containers
Are Docker containers secure enough?
Security-Enhanced Linux for container security
The best practices for container security
Digital signature verification
Summary

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

Authors

Table of Contents

Chapter 1: Getting Started with Docker
An introduction to Docker
Docker on Linux
Differentiating between containerization and virtualization
Installing the Docker engine
Understanding the Docker setup
Downloading the first Docker image
Running the first Docker container
Running a Docker container on Amazon Web Services
Troubleshooting
Summary
Chapter 2: Handling Docker Containers
Clarifying the Docker terms
Working with Docker images
Working with an interactive container
Summary
Chapter 3: Building Images
Docker's integrated image building system
A quick overview of the Dockerfile's syntax
The Dockerfile build instructions
A brief overview of the Docker image management
Best practices for writing Dockerfiles
Summary
Chapter 4: Publishing Images
Understanding the Docker Hub
Pushing images to the Docker Hub
Automating the building process for images
Private repositories on the Docker Hub
Organizations and teams on the Docker Hub
The REST APIs for the Docker Hub
Summary
Chapter 5: Running Your Private Docker Infrastructure
The Docker registry and index
Docker registry use cases
Run your own index and registry
Push the image to the newly created Docker registry
Summary
Chapter 6: Running Services in a Container
A brief overview of container networking
Envisaging the Container as a Service
Exposing container services
Summary
Chapter 7: Sharing Data with Containers
The data volume
Sharing host data
Sharing data between containers
Avoiding common pitfalls
Summary
Chapter 8: Orchestrating Containers
Linking containers
Orchestration of containers
Summary
Chapter 9: Testing with Docker
A brief overview of the test-driven development
Testing your code inside Docker
Integrating Docker testing into Jenkins
Summary
Chapter 10: Debugging Containers
Process level isolation for Docker containers
Debugging a containerized application
Installing and using nsenter
Summary
Chapter 11: Securing Docker Containers
Are Docker containers secure enough?
Security-Enhanced Linux for container security
The best practices for container security
Digital signature verification
Summary

Book Details

ISBN 139781784397937
Paperback240 pages
Read More
From 13 reviews

Read More Reviews