How to implement CentOS7 using Docker Overlay2 Storage driver
This article mainly explains "how to achieve CentOS7 using Docker Overlay2 storage driver", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's ideas slowly in depth, together to study and learn "how to achieve CentOS7 using Docker Overlay2 storage driver" bar!
I. prerequisites
The default Kernel version of the 1.CentOS7 distribution is 3.10, but the Overlay2 storage driver requires more than 4.0 kernel support, so you must manually upgrade the Kernel version to 4.X.
The default file system used by 2.CentOS7 is xfs, but the file system parameter d_type of type xfs defaults to false, which needs to be reformatted to configure this parameter.
3. Docker version requires that I use docker-ce-17.12. For more information on compatibility, please see the official website list.
Upgrade CentOS7 Kernel version to 4.x
1. Enable ELRepo warehouse
two。 Install the latest 4.X kernel
3. Set up grub2
3. Create a XFS file system
4. Install Docker-CE
5. Configure the Docker overlay2 storage driver and start it
Thank you for your reading, the above is the content of "how to achieve CentOS7 using Docker Overlay2 storage driver". After the study of this article, I believe you have a deeper understanding of how to achieve CentOS7 using Docker Overlay2 storage driver, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!