Chapter 2 Docker and command line
Docker and operating systemLinux distributionCommon are Ubuntu, Alpine, CentOS, Debian, etc. You can download the Linux distribution image with the following command:docker pull ubuntu
docker pull alpine
docker pull centos
docker pull debianUsing docker images, you can view the image information and compare the image sizes of different distribu ...
Posted by Randy on Sun, 23 Jan 2022 20:30:01 +0100
Docker uses commit to understand how to build images
Docker uses commit to understand how to build images
The image is the basis of the container. Each time docker run is executed, which image will be specified as the basis for the container to run. When the image of Docker Hub cannot meet our needs, we need to customize the image to meet our needs.
Image is multi-layer storage, and each layer ...
Posted by mdannatt on Sun, 23 Jan 2022 10:55:44 +0100
Learning Daily: configure macvlan network for docker of Debian 10 and install openwrt as side route
1. Connect to our server via ssh
By default, docker is installed on your system. If it is not installed, please search other tutorials and install it first
2. View the network card name
Use the nmcli command to view your network card name
root@debian:~# nmcli
enp2s0: connected to Wired connection 2
...
inet4 192.168.1.6/24
route ...
Posted by knford on Sun, 23 Jan 2022 05:51:28 +0100
k8s local cluster construction (v1.21.2)
k8s preliminary preparation
I mainly use it here docker-case Building local k8s(v1.21.2) clusters
Software preparation
vagrant 2.2.16 Cross platform virtualization toolsvirtualbox Open source free virtual machinek8s version v1.21.2
vagrant environment description
You need to use the root user to start the installation, otherwise you will e ...
Posted by Spogliani on Sat, 22 Jan 2022 22:03:49 +0100
Install zookeeper, kafka, druid with docker to ingest data
All data in Druid is organized into segments, which are data files, usually up to millions of rows per segment. Loading data in Druid is called ingestion and includes reading data from the source system and creating segments based on that data. In most ingestion methods, loading data is done by the MiddleManager process.
Druid data is stor ...
Posted by jmcc on Sat, 22 Jan 2022 06:30:48 +0100
Dockerfile file parsing
What is dockerfile
Dockerfile is a text document that contains commands for combining images. You can use any command in the command line. Docker automatically generates an image by reading the instructions in the dockerfile.
The docker build command is used to build an image from a Dockerfile. You can use the - f flag in the docker build com ...
Posted by PHP-Nut on Fri, 21 Jan 2022 22:53:37 +0100
K8S deployment SpringBoot project (one article is enough)
Today's article mainly introduces how to build a set of SpringBoot case tutorials based on K8s deployment from 0.
Basic environment preparation:
1. mac operating system 2. Simple Web project of springboot
Minicube environment construction Install a k8s environment suitable for our entry. A better recommendation is to use the minicube too ...
Posted by sigmon on Thu, 20 Jan 2022 21:17:52 +0100
Docker deployment OKR project replay
Docker deployment OKR project replay
1, Run OKR project locally
(1)The problem of Chinese and English garbled code on the home page: the problem of coding logic
Reference address:
https://www.cnblogs.com/shihaiming/p/7792876.html
https://www.cnblogs.com/kingsonfu/p/10395522.html
(2)An exception occurs during database initialization bec ...
Posted by wazo00 on Thu, 20 Jan 2022 19:42:30 +0100
Installing Docker(mysql,redis,rabbitmq) in Centos7
What is Docker?
Docker is an open source application container engine, which is based on Go language and complies with Apache 2.0 0 protocol is open source.Docker allows developers to package their applications and dependency packages into a lightweight and portable container, and then publish them to any popular Linux machine. It can also rea ...
Posted by rockinaway on Thu, 20 Jan 2022 12:16:09 +0100
Kubernetes -- detailed explanation of Pod -- configuration method of Pod
Pod introduction
The smallest operating unit in K8s is Pod, and the container must be placed in the Pod before it can operate. The containers in Pod in K8s are divided into two types:
User defined containerPause container. This is a container that every Pod will have
Setting up the Pause container has the following two benefits:
When a gr ...
Posted by Ark3typ3 on Thu, 20 Jan 2022 03:27:14 +0100