Allow the uses of overlay2 in the 3.10.0-693.el7.x86_64 kernel now that Redhat officially supports it?
|
if kernel.CompareKernelVersion(*v, kernel.VersionInfo{Kernel: 4, Major: 0, Minor: 0}) < 0 { |
|
if !opts.overrideKernelCheck { |
|
return nil, graphdriver.ErrNotSupported |
|
} |
|
logrus.Warn("Using pre-4.0.0 kernel for overlay2, mount failures may require kernel update") |
|
} |
Steps to reproduce the issue:
- Install docker-ce 17.0.6 on rhel 7.4
echo -e "{ \"storage-driver\": \"overlay2\" }" > /etc/docker/daemon.json; systemctl restart docker
Describe the results you received:
Docker should restart.
Describe the results you expected:
Docker doesn't support overlay2 on rhel 7.4.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
[root@rhel74 ~]# docker -v
Docker version 17.06.0-ce
Additional environment details (AWS, VirtualBox, physical, etc.):
vmware fusion. also tested on aws.
Allow the uses of overlay2 in the 3.10.0-693.el7.x86_64 kernel now that Redhat officially supports it?
moby/daemon/graphdriver/overlay2/overlay.go
Lines 136 to 141 in 1009e6a
Steps to reproduce the issue:
echo -e "{ \"storage-driver\": \"overlay2\" }" > /etc/docker/daemon.json; systemctl restart dockerDescribe the results you received:
Docker should restart.
Describe the results you expected:
Docker doesn't support overlay2 on rhel 7.4.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version:[root@rhel74 ~]# docker -v
Docker version 17.06.0-ce
Additional environment details (AWS, VirtualBox, physical, etc.):
vmware fusion. also tested on aws.