Docker installation and deployment super detailed tutorial (version 2021)

1, Preconditions 1.1. kernel Docker has high requirements for the kernel, so it is generally recommended to run directly on a platform such as Ubuntu. However, as a container standard, docker also supports other platforms such as CentOS, Mac OS X, Windows, etc. Currently, docker supports the following versions of CentOS: CentOS 7(64 bit)Cen ...

Added by dotwebbie on Thu, 20 Jan 2022 16:02:00 +0200

The k8s construction of high availability and load balancing

1. Environmental description This method is used in production environments Highly available tool: kept Load balancing: haproxy (or nginx, lvs) The versions of docker, kubedm and kubelet programs are shown in the figure below: Virtual machine: 2. Main process steps System environment configuration - kernel upgrade to above 4.19 - docker i ...

Added by traffic on Thu, 20 Jan 2022 15:28:06 +0200

docker--docker network mode

This article will understand the network model of docker Docker's network mode When the docker process runs, it will automatically create a docker0 virtual bridge on the host, which is equivalent to a physical switch. It can exchange network information, realize the host communication between network segments, and assign an address in an unus ...

Added by kkobashi on Thu, 20 Jan 2022 11:32:24 +0200

docker network mode

1, docker network 1. docker network principle Docker uses linux bridging. A docker container bridge is virtualized in the host machine. The default is docker0 network. When docker starts a container, it will assign an IP address to the container according to the network segment of the docker bridge. The offset method is called container I ...

Added by Bikkebakke on Thu, 20 Jan 2022 09:53:13 +0200

A complete collection of kso docker commands, based on the Linux server centos7 5. Install docker

1. Introduction to docker Docker is an open source application container engine, which allows developers to package their applications and dependent packages into a portable container, and then publish them to any popular Linux or Windows operating system machine. It can also realize virtualization. The container completely uses the sandbox me ...

Added by mhoard8110 on Wed, 19 Jan 2022 17:09:24 +0200

docker - prometheus+grafana monitoring and integration into spring boot microservice

1, Prometheus introduction Prometheus, whose Chinese name is Prometheus, is inspired by Google's Brogmon monitoring system. It has been developed by former Google engineers in Soundcloud in the form of open source software since 2012. Version 1.0 was released in June 2016. Prometheus can be seen as an implementation of Google's internal mo ...

Added by Mr. R on Tue, 18 Jan 2022 21:03:55 +0200

[docker] docker starts nginx and implements reverse proxy

Recently, due to work needs, nginx needs to be deployed. For convenience, I directly chose docker to deploy nginx. Various installation contents can be omitted. 1. Pull nginx image docker pull nginx 2. Start nginx docker run --name nginx -p 80:80 -d nginx This will start nginx, but we want to change the configuration file nginx Enter ...

Added by DirtySnipe on Tue, 18 Jan 2022 19:36:35 +0200

Build docker harbor replication high availability

Install docker yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install docker-ce docker-ce-cli -y systemctl start docker systemctl enable docker Install docker compose Download address https://github.com/docker/compose/releases/ wget https://github.com/docker/compose/releases/download/1.29.2/d ...

Added by daijames on Tue, 18 Jan 2022 13:11:54 +0200

ubuntu16.04 k8s 1.15.2 cluster

1, Overview When building k8s clusters, you need to visit google, download relevant images and install software, which is very troublesome. Alicloud just provides k8s update source, which can be directly used by domestic users. 2, Environment introduction Operating system host name IP address function configuration ubuntu-16.04.5-server-am ...

Added by andrewmay67 on Tue, 18 Jan 2022 04:59:13 +0200

Creation of docker image and dockerfile

1, Creation of docker image 1. How to create a mirror There are three ways to create an image: Based on an existing image, based on a local template, and based on a Dockerfile. 2. Create from an existing mirror (1) Start an image and modify it in the container docker run -it --name jc1 centos:7 bash #Create a container first yum instal ...

Added by gacon on Tue, 18 Jan 2022 02:14:55 +0200