【问题标题】:Is docker storage driver overlay2 production available on CentOS 7.5?CentOS 7.5 上是否提供 docker 存储驱动程序 overlay2 生产?
【发布时间】:2019-03-29 14:36:56
【问题描述】:

当我阅读关于CentOS上overlay2存储驱动的docker文档时,我没有看到是否明确生产可用(如https://docs.docker.com/storage/storagedriver/select-storage-driver/#supported-storage-drivers-per-linux-distribution所示,centos上推荐的存储驱动不包含overlay2,但是当我在 centos 上安装 docker 1.13.1 时,默认存储驱动程序是 overlay2)。所以我想确认它是否已经在 CentOS 上生产,非常感谢你的回答。

ps:我的 CentOS 版本是 7.5.1804 (3.10.0-862.e17.x86_64),默认使用 overlay2。

【问题讨论】:

    标签: docker


    【解决方案1】:

    Docker EE 17.06.02-ee5 及更高版本支持 overlay2 驱动程序,建议用于 Docker CE。

    https://docs.docker.com/storage/storagedriver/overlayfs-driver/#prerequisites

    【讨论】:

    • 感谢您的回答,我是一个新的 dockerer,这意味着当我使用 docker 1.13.1 时,overlay2 驱动程序在 CentOS 上可用?还是使用 docker CE,比如 17.xx?
    • 您需要使用 docker-ce 17.xx 及更高版本。不要使用旧的 docker ce 版本。 docker-ce 是社区版。 docker-ee 企业版。
    • 哦,是不是默认提供的docker 1.13.1版本有问题?就像?期待您的回答。
    • docker 1.13.1 可能没有特别的问题,但它不支持最新的功能。我们最近不得不从它升级到 docker-ce 17+ 以支持多阶段容器构建(不过我们跳到了 20.*)。
    猜你喜欢
    • 1970-01-01
    • 2020-03-05
    • 1970-01-01
    • 1970-01-01
    • 2016-08-19
    • 2017-01-20
    • 2017-08-07
    • 2017-02-14
    • 1970-01-01
    相关资源
    最近更新 更多