Docker advanced network practice

Provided by libnetwork in Docker 4 drives , they have their own advantages, but in fact, each method has certain limitations. Suppose we need to operate a data center network. We have many host computers. Hundreds or even thousands of Docker containers are running on each host computer. The details of using four network drivers are as follows. ...

Posted by KeitaroHimura on Fri, 15 Apr 2022 16:30:56 +0300

Data persistence + network mode + resource limitation of Docker container

Three ways of docker container data persistence docker provides three ways to mount data from the host to the container: volumes: Docker is the best way to manage part of the host file system (/ var / lib / docker / volumes) to save data. bind mounts: Mount files or directories from any location on the host to the container. tmpfs:: mount i ...

Posted by Donny Bahama on Thu, 14 Apr 2022 07:39:05 +0300

Docker deployment service

Deploy Nginx Looking for images docker search nginx: the latest version by defaultView different version information on the official website Download Image docker pull nginx [root@iZwz9hv1phm24s3jicy8x1Z ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE nginx latest 605c77e624dd 3 months ago 141MB ...

Posted by hoboman on Thu, 14 Apr 2022 03:48:21 +0300

Kubernetes 1.20.4 fast upgrade and capacity expansion of high availability cluster

After the Spring Festival in 2021, Kubernetes is new again. Kubernetes 1.20.4 has been officially released, and highly available clusters can also be upgraded directly (hub.docker.com has been stopped, and registry.cn-hangzhou.aliyuncs.com/google_containers is used). Fast upgrade (including domestic image quick download link) includes ...

Posted by adamjblakey on Wed, 13 Apr 2022 19:33:51 +0300

apt installs docker&docker log& logging driver to extract logs from the running container

apt installs docker & docker Log & logging driver A: Online apt installation 1. Install docker Online # Configuration after docker installation, image acceleration root@ekmp-server-prod:/home/ekmp# docker Command 'docker' not found, but can be installed with: snap install docker # version 19.03.13, or apt install docker.io ...

Posted by stuart7398 on Wed, 13 Apr 2022 17:38:55 +0300

Snapshot and snapshot data

Record the process of backing up the data in the es cluster with elatic dump First of all, my environment is the single node mode of es cluster started by docker. The following is the docker compose file version: '2' services: es01: image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2 container_name: dockerelk_new_es #rest ...

Posted by jpschwartz on Wed, 13 Apr 2022 14:37:16 +0300

Docker Compose detailed explanation and project construction

Docker Compose detailed explanation and project construction preface Through the previous articles, we know the installation, image operation and container operation of Docker, and also have a preliminary understanding of Dockerfile to build its own image. Next, we need to consider how to deploy through Docker from the perspective of a projec ...

Posted by technotool on Wed, 13 Apr 2022 11:04:06 +0300

Kubedm quickly builds k8s clusters (single master node)

Kubedm quickly builds k8s clusters (single master node) 1, Cluster pre deployment planning hostoperating systemIPdocker versionk8s versionk8s-master1Centos7.9192.168.15.13920.10.121.23.4-0k8s-node1Centos7.9192.168.8.13520.10.121.23.4-0k8s-node2Centos7.9192.168.8.13620.10.121.23.4-0 2, Main steps Node preparation (all nodes)Deployment contain ...

Posted by myanavrin on Tue, 12 Apr 2022 23:47:17 +0300

Docker compose deploy MinIO distributed cluster

Docker compose deploy MinIO distributed cluster summary MinIO is the world's leading pioneer in object storage, with millions of users worldwide. High performance. On standard hardware, the read / write speed is as high as 183GB / s and 171GB / s, with higher throughput and lower latencyScalability, which brings a simple scaling model fo ...

Posted by kkeim on Tue, 12 Apr 2022 22:33:28 +0300

Simple construction and operation of Python Flask service of Docker

preface Run a simple flash project in the form of Docker container step I Write py code 1. Write a simple flash project in python. Here I use PyChram to write the project Create an app Py files are as follows: (it is worth noting that Flask needs a wave of packet inversion. Move the mouse to Flask and press Alt + Enter to complete the pa ...

Posted by y2yang on Mon, 11 Apr 2022 15:05:37 +0300