You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
Note: If you use OverlayFS, use the overlay2 driver rather than the overlay driver, because it is more efficient in terms of inode utilization. To use the new driver, you need version 4.0 or higher of the Linux kernel.
The text was updated successfully, but these errors were encountered:
So if a host previously didn't support overlay2 and was using overlay, then a /var/lib/docker/overlay directory is found, and the daemon will continue using that.
But if (on the same host), the /var/lib/docker directory is "clean", and no previous directory was found for a storage-driver, it will select the first supported driver from the priority list (which should be overlay2 on a 4.x kernel (unless it finds that the underlying filesystem is btrfs or zfs)
Tested with RancherOS v1.2.0-rc2
If you upgrade from an earlier version to v1.2.0-rc2, docker continues to use the overlay driver.
If based on v1.2.0-rc2 launch instance, the default is overlay2 driver
However, if I use docker-machine launch instance, the default is overlay driver
As we have a higher kernel version and docker version.
It is better to use the
overlay2
driver for user docker.See: https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/
The text was updated successfully, but these errors were encountered: