[Docker] common Docker commands. Help command, mirror command, container command

Docker common commands Docker Hub official website: https://hub.docker.com/ 1. Help command docker version # Display Docker version information. docker info # Displays Docker system information, including the number of images and containers docker --help # help Among the three commands, docker --help is the most commonly used. When ...

Posted by ParkerPHP on Sun, 20 Feb 2022 14:16:59 +0100

Java design pattern (seven principles and singleton pattern)

1. Overview of Java design patterns 1.1 purpose and importance of design mode (1) In software engineering, design pattern is a solution to the common (recurring) problems in software design. (2) Code reusability, readability, scalability and reliability are the characteristics of high cohesion and low coupling. 1.2 seven principles of d ...

Posted by lipun4u on Sun, 20 Feb 2022 13:58:55 +0100

Microservice fuse current limiting degraded Hystrix

1, Core knowledge of service fault tolerance 1.1 avalanche effect In microservice architecture, it is very common for A request to call multiple services. For example, when the client accesses service A, service A needs to call service B, and service B needs to call service C. due to network reasons or its own reasons, if service B or ser ...

Posted by dw89 on Sun, 20 Feb 2022 13:56:06 +0100

Dark horse programmer jvm notes -- some experience of JMM memory model

JMM memory model 1. Computer structure Input device: our mouse and keyboard Memory: corresponding to our memory, cache The arithmetic unit and controller together constitute the cpu Output devices, such as display screens and printers. Let's focus on caching: 2. Cache In fact, when we say that computers are inefficient and slow, they ...

Posted by router on Sun, 20 Feb 2022 13:52:36 +0100

Data structure overview 2 stack and queue

catalogue Stack definition Sequential storage structure (static allocation) Five operations in which top is an integer (when top points to the next position of the top element of the stack) Five operations in which top is an integer (when top points to the top element of the stack) Sequential storage structure (dynamic allocation) Five o ...

Posted by jonniejoejonson on Sun, 20 Feb 2022 13:47:15 +0100

Design mode - factory mode

1, Pizza order 1. Create pizza Abstract class pizza //abstract class public abstract class Pizza { protected String name; public abstract void prepare(); public void bake(){ System.out.println(name + "baking"); } public void cut(){ System.out.println(name + "cutting"); } public void box(){ ...

Posted by kuma on Sun, 20 Feb 2022 13:32:04 +0100

2022Java learning notes 36 (object-oriented enhancement: abstract classes, abstract class cases)

2022Java learning notes 36 (object-oriented enhancement: abstract classes, abstract class cases) 1, Abstract class A parent class knows that all its subclasses need to complete a function, but the completion of each subclass is different. The parent class can only define the basic requirements of the function for a long time, and the speci ...

Posted by pragma on Sun, 20 Feb 2022 13:26:02 +0100

Necessary for data analysis interview: these easy-to-use SQL functions need to be memorized

Hello, I'm brother Cheng~ Today I share the window function foundation of SQL. catalog: 1. What is the window function 2. Sorting function 3. Distribution function 4. Front and back functions 5. Head and tail function 6. Aggregate function [note] there is a technical exchange group at the end of the text Recommended articles Someone ...

Posted by dirkers on Sun, 20 Feb 2022 13:23:27 +0100

React Context quick use

1 use background In order to transfer data across components, especially across multi-level components, using context can simplify the process and make it clearer. It should be noted that components that depend on context will be updated when the context changes (not controlled by shouldComponentUpdate) It should be noted that the context ...

Posted by Loathor__Healer on Sun, 20 Feb 2022 13:19:49 +0100

Comprehensive experiment of three-tier architecture

catalogue preface Test requirements: Network topology idea: Experimental analysis: 1. Erunk configuration between SW1 and SW2 2. Create VLANs, divide VLANs and trunk roads 3. Configure STP 4. Configure SVI  5. Configure VRRP 6. Configure DHCP 7. Configure the ip address of R1, R2 and SW1 uplink 8. Configure OSPF routing 9. Con ...

Posted by dgwade on Sun, 20 Feb 2022 13:10:53 +0100