Liver 2022 World Cup, angry write enterprise-level image private warehouse Docker+Harbor practice

2022-12-09 The first day of the 2022 Qatar World Cup semi-finals kicks off, and it gets more and more exciting At the same time record the growth of the programmer~ 1. Background Since I expected to build an enterprise-level CICD environment, I started to try the conventional gitlab+jenkins+k8s+docker harbor+springboot and started to practic ...

Posted by cool-palace-ceo on Sat, 10 Dec 2022 16:42:51 +0300

Use kubeadm to build a Kubernetes cluster

Kubernetes cluster construction - kubeadm method Kubeadm is a K8s deployment tool that provides kubeadm init and kubeadm join for rapid deployment of Kubernetes clusters. Tool function: kubeadm init: Initialize a Master nodekubeadm join: join the worker node to the clusterkubeadm upgrade: upgrade K8s versionkubeadm token: Manage the token ...

Posted by addie on Wed, 07 Dec 2022 09:37:35 +0300

Docker mongoDB container backup and recovery

Docker mongoDB container backup and recovery word: phonetic symbolstranslatedump[dʌmp]: [dang' mu' pu]dump; dump; dump; dumpdeny | denied[dɪˈnaɪ] :[di' nai]deny; deny; denydirectory[dəˈrektəri] :[di' ruai 'ke ' te 'rui]Table of contents 1. Data backup: 1. 1 Basic grammar: >mongodump -h dbhost -d dbname -o dbdirectory Example: 1. 2 ...

Posted by wmbetts on Tue, 06 Dec 2022 01:57:38 +0300

Docker packaging front-end and back-end project image deployment documents

illustrate This time, 6 ports are used to do a front-end and back-end docker image deployment 8080,8081 are the ports of the two backend services 8082,8083 are the ports for the two front ends The project uses nginx as a proxy to solve the cross-domain problem caused by different front-end and back-end ports, because I use both the front-end ...

Posted by knight on Sat, 05 Nov 2022 03:38:32 +0300

Containerized Deployment - Kubernetes(K8S) Quick Start

Containerized deployment With the popularity of Docker technology, containerized deployment of projects is becoming more and more popular. The advantages of containerized deployment are as follows: ① It can ensure that each container has its own file system, CPU, memory, process space, etc. ②The resources required to run the application are ...

Posted by Hatch on Sat, 22 Oct 2022 02:38:03 +0300

Docker container ------ compose container cluster for quick orchestration

Table of contents introduction 1. Introduction to Docker-compose 2. YAML file format and preparation precautions 2.1, YAML file format 2.2. Notes on YAML format 2.3, YAML data structure 3. Docker Compose configuration common fields Fourth, Docker-compose common commands Five, compose deployment 6. Summary introduction         Doc ...

Posted by livvylove on Fri, 21 Oct 2022 00:38:33 +0300

Detailed description of dock command

install https://docs.docker.com/engine/install/ Just install ce (community version) Start command Start docker systemctl start docker Close docker systemctl stop docker Restart docker systemctl restart docker docker settings start automatically when the service starts systemctl enable docker View Status View docker Running Sta ...

Posted by wata on Sun, 18 Sep 2022 21:43:12 +0300

Docker tossing notes

The systems used are Ubuntu 20.04 (64 bit) and Ubuntu 22.04 (64 bit) Docker installation Docker program installation There are two ways to install Docker: one is to use the official script to install directly, and the other is to use apt to install according to the official tutorial I have tested both methods. Script installation is very con ...

Posted by Paavero on Sat, 27 Aug 2022 13:50:30 +0300

docker installation and common commands

Centos installation docker Install dependent packages sudo yum install -y yum-utils device-mapper-persistent-data lvm2 Set alicloud image source sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo Install docker CE sudo yum install docker-ce report errors --> Processing Conflict: 1 ...

Posted by csxpcm on Wed, 25 May 2022 16:53:53 +0300

The difference between RUN CMD and ENTRYPOINT in Dockerfile

The RUN, CMD, and ENTRTPOINT instructions in the Dockerfile can all be used to specify the instructions running in the container, but there are subtle differences between the three. simply put: RUN The RUN command is generally used to install software packages in the container or execute other commands, such as RUN yum install -y telnet RUN to ...

Posted by tullmejs on Sun, 22 May 2022 11:09:05 +0300