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
In a complex table structure, some cells span mul...
【Foreword】 The SMS function of our project is to ...
Preface Recently, I encountered a requirement at ...
background Getting the slow query log from mysql....
MariaDB is installed by default in CentOS, which ...
There were always problems when installing tortoi...
Recently I need to change the version of MySQL da...
Table of contents Preface Publish-Subscriber Patt...
After I published my last article “Zen Coding: A Q...
The following two errors were encountered when co...
1. Front-end-led implementation steps The first s...
Today I will talk about a CSS special effect of h...
The EXPLAIN statement provides information about ...
This article shares the specific code of js to re...
This article shares the specific implementation c...