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

Linux user manual (CentOS)

Common commands 1. System command sync #Synchronize data from memory to hard disk shutdown -h now #Turn it off immediately reboot #restart hostnamectl set-hostname kali #Set the host name to kali 2. Directory operation cd / #Open root directory cd ~ #Open current user directory cd ./ #current directory cd .. #Return to the previous dir ...

Added by Keith Scott on Mon, 17 Jan 2022 14:36:47 +0200

Centos7 installs the 1.21.2 cluster of K8S

Centos7 installation K8S 1. Server Three Centos7 servers need to be prepared and configured with at least 2C and 2G. All three servers have been configured with static IP. If not, please refer to: Configuring static IP for VM Ware+Centos7 host nameIPDocker versionHost configurationK8S versionmaster01192.168.159.17120.10.72C8G1.21.2wo ...

Added by komlos on Sun, 16 Jan 2022 04:59:25 +0200

Installing Docker under Centos7

1, Introduction Docker is an open source application container engine; Is a lightweight container technology; Docker supports compiling software into an image; Then, configure various software in the image and publish the image, so that other users can directly use the image; The running image is called a container, and the container sta ...

Added by ph8edsicness on Sat, 15 Jan 2022 14:29:48 +0200

(Shang Zhouyang) docker's notes

1. Preparation docker :Docker cat /etc/redhat-release see sentOS edition uname -r View kernel version 2.docker architecture Three elements: (warehouse, image and container) docker host(Host): Installed Docker Programmed machine( Docker Directly installed on the operating system); docker client(Client): connect docker Operate the host; ...

Added by NNTB on Sat, 15 Jan 2022 03:27:33 +0200

Minio is installed on the thinnest Docker in the whole network to fill the pit of the latest version (highly recommended Collection)

preface In enterprises, we usually store some pictures, videos, documents and other related data in object storage. Common object storage services include Alibaba cloud OSS object storage, FastDFS distributed file system and the company's private cloud platform, so as to facilitate data storage and rapid access. However, with the rapid d ...

Added by sunilj20 on Fri, 14 Jan 2022 22:38:55 +0200

Introduction to mysql engine, log summary, master-slave principle, xtrabackup for full plus incremental plus binlog database recovery

mysql service 1 1. Summarize the common storage engines and characteristics of mysql. show engines; View database engines supported by the database MyISAM engine features: Transaction not supportedRead and write are mutually exclusive and cannot be read or written at the same timeForeign keys are not supportedRead and write data faster an ...

Added by RightNow21 on Fri, 14 Jan 2022 04:11:54 +0200

Linux basic commands

1, Class notes: su - meaning and home directory meaning? When switching users, the configuration information of the user's home directory will be called / loaded. For example, if a command is configured for the user alone, only the user will recognize the command, and other users cannot. Relative path and absolute path St ...

Added by Craig_H on Sat, 08 Jan 2022 22:59:53 +0200

Introduction to file attributes

File attribute components (8 parts in total) ll -i /etc/hosts 16778299 - rw-r--r--. 1 root root 158 6 July 2013 /etc/hosts 1)In file properties inode(index node): Inodes locate data storage locations faster==Catalogue of books 2)File type information:- Ordinary file d Catalog file l Soft link file 3)File permission settings: r read w write x E ...

Added by Krazy-j on Thu, 06 Jan 2022 03:50:51 +0200

Release container server & private image warehouse | Cloud computing

1. Create a custom image 1.1 problems This case requires two methods to create a custom image. The specific requirements are as follows: Starting containers with centos imagesConfigure yum source in containerInstall software bash completion net tools iproute psmisc VIM enhancedCreate a custom image myos:latestValidate custom image 1.2 ...

Added by bellaso on Tue, 04 Jan 2022 16:01:47 +0200