Skip to content

Allow overlay2 on 7.4 kernel 3.10.0-693.el7.x86_64 or higher? #34368

@clemenko

Description

@clemenko

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:

  1. Install docker-ce 17.0.6 on rhel 7.4
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/daemonCore Enginearea/storage/overlaykind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions