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
A dynamic clock demo based on Canvas is provided ...
Introduction yum (Yellow dog Updater, Modified) i...
This article shares the specific code of Vue intr...
Table of contents Preface 1. Preparation 2. Insta...
All blogs listed below are original and uniquely ...
There are many attributes in CSS. Some attributes...
This article mainly introduces the implementation...
Table of contents Overview Global hook function R...
Table of contents Introduction to the Decorator P...
Table of contents 1. Solution 2. Let the browser ...
Table of contents index - General index - Unique ...
Table of contents background Main content 1. Comp...
1. Concurrency Concurrency is the most important ...
When we open the source code of a regular website...
Description and Introduction Docker inspect is a ...