After installing docker, start docker with the command, but the startup fails
Bug recurrence:
Use systemctl status docker.service to view the log:

The cause of the problem: Here is that SELinux in the Linux kernel does not support overlay2 graph driver. There are two solutions, either start a new kernel; or just disable selinux in docker, -selinux-enabled=false.
Here we use the second method to solve:
vi /etc/sysconfig/docker

Then start docker: systemctl start docker, the problem is solved
In other words, this command is locked, just execute the following command: The following prompt can appear If you want to lock him, you can execute the following command:...
When reinstalling mysql, run Report an error. View mysql service status To no avail Then thought of viewing the log: cat /var/log/mysqld.log Found that port 3306 is occupied Then kill the process Just...
Why can't 80% of the code farmers can't do architects? >>> The following error is displayed when the service is started. Workaround: Execute: RM /VAR/LOG/SAMBA/LOG.* Funded in: ht...
I found that there is a mistake in line 81 Seeing the 81st, when the redis permissions just opened ① Comment on this line of Bind 127.0.0.1; ② PROTECTED-MODE is set to NO When I did the second ...
CENTOS7 opens the firewall command Centos7 is installed by defaultfirewalld Tool Put on the firewall command...
Docker cannot start a fault investigation daemon.json configuration error hosts configuration Investigation method: daemon.json configuration error hosts configuration The hosts configuration in Daemo...
docker version: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Mirrored version 1 2 1 2 1 2 1 2 1 1 2 3 reference:https://github.com/docker/docker/issues/7459 &n...
Error message: 1. Set the LAN configuration: 2. Turn off the NetworkManager service: systemctl disable NetworkManager, systemctl stop NetworkManager; 3. The network connection mode is set to bridge mo...
After docker is installed, when viewing docker related information through commands, an error may occur: Gethttp:///var/run/docker.sock/v1.19/version: dial unix/var/run/docker.sock: no such file or di...
1 I found a problem when importing the mysql image today. I failed to start the mysql image using the following method, and no error was reported. Used at the time No way, I had to check the logs dock...