failed to start daemon error initializing graphdriver overlay2 unknown option overlay2override_kernel_check overlay2
This error message suggests that the Docker daemon is unable to start because of an unknown option in the overlay2 storage driver configuration.
To resolve this issue, you can try the following steps:
-
Stop the Docker daemon:
- On Linux, use the command:
sudo systemctl stop docker - On macOS or Windows, use the Docker Desktop application to stop the Docker daemon.
- On Linux, use the command:
-
Edit the Docker daemon configuration file:
- On Linux, open the
/etc/docker/daemon.jsonfile with a text editor. - On macOS or Windows, open the Docker Desktop settings and go to the "Daemon" tab.
- On Linux, open the
-
Locate the
storage-driverconfiguration option and change its value toaufsoroverlay:"storage-driver": "aufs"or
"storage-driver": "overlay" -
Save the changes and close the configuration file.
-
Start the Docker daemon:
- On Linux, use the command:
sudo systemctl start docker - On macOS or Windows, use the Docker Desktop application to start the Docker daemon.
- On Linux, use the command:
If the above steps don't resolve the issue, it's possible that your Docker installation is using an outdated version of Docker or overlay2. In that case, you may need to update Docker to the latest version or try reinstalling Docker.
Note: Changing the storage driver may cause data loss for existing containers and images, so it's important to back up any important data before proceeding
原文地址: https://www.cveoy.top/t/topic/ixhX 著作权归作者所有。请勿转载和采集!