Edit /etc/docker/daemon.json and add the following: { "storage-driver": "overlay2", "storage-opts": [ "overlay2.override_kernel_check=true" ] } Installation dependencies:
Otherwise the following error will be reported:
Finally restart Docker
Additional knowledge: Compile and load toa module on centos7 1. Install the kernel-devel package, which needs to be consistent with the current kernel version
2. After updating the kernel, you need to restart the system to make it take effect 3. Get toa source code cd /usr/local/src/ git clone https://github.com/huaweicloud/elb-toa.git cd elb-toa/src make 4. If normal, toa.ko should be generated, load and test
Deploy nginx for testing Add boot auto-load
Add the following line to rc.local
Make sure /etc/rc.d/rc.local has execution permission, otherwise rc.local will not take effect. The above article about CentOS 7.x docker using overlay2 storage method is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Provides helpful suggestions for improving website design
>>: Web lesson plans, lesson plans for beginners
Table of contents 1. When the mouse passes over t...
Preface: Use debugbar to view document code in iet...
The specific steps of installing mysql5.7.18 unde...
Effect html <body> <div class="cont...
Single page application characteristics "Ass...
This tutorial shares the detailed steps of instal...
Table of contents Installation package download I...
1. Download and decompress 1. Introduction to Zoo...
This article example shares the specific code of ...
Docker is really cool, especially because it'...
Table of contents 1. Structure string 2. Return t...
Table of contents Throttling and anti-shake conce...
Three ways to define functions in JS Let me expla...
The Linux system is a typical multi-user system. ...
<br />Now let's take a look at how to cl...