Current location - Education and Training Encyclopedia - Resume - Docker core technology, using K8S to build, package and deploy Docker containers.
Docker core technology, using K8S to build, package and deploy Docker containers.
Docker is a containerized technology, which is currently at the center of a new wave, which has affected the construction, packaging and deployment of applications. It may affect all aspects of computer technology, from application development process to application deployment and vertical and horizontal expansion across large data centers.

Although Docker is very popular, it is still a very new project and many people don't really understand what Docker is. If you are one of them, then this book will help you take the first step and let you see the great potential promised by containerization. My goal is to lead you into the containerized world through this book. These goals can be summarized as follows:

With the deepening of reading, readers will see the specific methods of running, investigating, stopping and starting, saving and managing containers. When I started to create containers, I discussed some technologies that will help readers create container images that can be built and run efficiently. I will also take readers step by step to learn the build file (called Dockerfile) created by others to generate their own containers.

For those who have just started using the Docker container, this book should be read from beginning to end. After that, it can be used as a reference to remind you of the different options and functions related to the Docker container. This book is divided into five parts.

Opening the first part of the container tour

In the first part, you will learn what you need to know to start using the Docker container. Chapter 1 will describe what containers are and the differences between containers and non-containerized applications. In the second chapter, you will learn how to install Docker on common Liunx systems (such as Fedora and Ubuntu) and container-oriented specific Linux systems (such as CoreOS and Project Atomic). In the third chapter, we will show how to save your own Docker image by configuring a private Docker registry, thus completing a basic container setup.

Play with the second part of a single container

This part mainly involves using a single container directly through the docker command. Chapter 4 will show you how to run your first container image. In order to help you find and obtain the container image, Chapter 5 will describe how to search the container image from the Docker registry, then extract the required image, save it in a file, and load the image into other Docker systems.

In Chapter 6, you will learn how to tag an image to better identify its contents, and use this information to push the image to the registry. In Chapter 7, you will show how to detect the inside of a container or container image and see the details of how the container or image works. In Chapter 8, you will learn how to stop, start and restart containers. In Chapter 9, you will learn how to configure storage by mounting the host's directory into a container. In order to learn how to configure the network of containers, chapter 10 will describe how to configure the default network (or not to use the network) commonly used by Docker service, and how to configure the network interface for a single container by the person running the container.

Docker caches a large amount of data for possible reuse. Chapter 1 1 will show how to clean up the cached data when creating or running a container image. Chapter 12 will learn how to build a Docker container, including how to create a container that can be built and run efficiently.

The third part runs the container in the cloud environment.

Chapter 13 will describe how to run the so-called super privileged container (SPC). To illustrate how the Super Privileged Container works, I will show you how to get an image that can perform different administrative tasks on the RHELAtomic system. Chapter 14 will describe how to use Cockpit (Web-based container management tool) to manage containers that span multiple hosts in a cloud environment or a local environment.

The fourth part manages multiple containers.

In this section, we will explore the arrangement of containers. Chapter 15 will describe how to use the main service and node service of Kubernates to try Kubernates in a system. In chapter 16, we will go beyond the integrated Kubernetes system and describe how to build a Kubernetes cluster. After the Kubernetes cluster is ready, the applications in the container pod can be deployed to different node computers for management through the host computer.

The fifth part develops the container.

In the short time after the appearance of Docker, technologies that can build containers more efficiently have been developed. Chapter 17 will describe some suggestions and techniques for developing Docker containers. Finally, chapter 18 shows how different people overcome obstacles to build their own containers by showing some Dockerfile files I have come into contact with. If you are ready, start reading chapter 1 at once. I hope you like this book!

Finally, friends who need to receive this docker learning document for free can help comment on the article and pay attention to private letters for free!