[CentOS] Best practices for docker setup on Centos 7?

Fri Mar 31 08:59:53 UTC 2017
James Hogarth <james.hogarth at gmail.com>

On 31 March 2017 at 07:11, Rafał Radecki <radecki.rafal at gmail.com> wrote:
> Hi All.
>
> I am currently running docker 1.13 on Centos 7 boxes with devicemapper
> storage plugin.
> I would like to know what are your experiences in regard to:
> - storage plugins
> - kernel versions
> - stability
>
> I consider upgrade to docker 17.03.1 and would like to choose most stable
> combination of kernel/storage plugin.
>


If you really want the most stable setup which is well tested with the
Red Hat environment I'd suggest to stop using upstream and use the
docker in the extras repo, which is the same as the docker in the RHEL
extras repo and is patched to work optimally with Red Hat and is
tested by them.

If you have plenty of block storage I'd use devicemapper with a thin
pool LVM setup.

We've recently switched to overlay2 as our graph driver, although that
is in a CI and nor prod environment ... you may want to carry out some
comparisons.