Docker 설치 공식 가이드 for CentOS
OS 요구 사항
To install Docker CE, you need a maintained version of CentOS 7. Archived versions aren’t supported or tested.
The
centos-extras
repository must be enabled. This repository is enabled by default, but if you have disabled it, you need to re-enable it.The
overlay2
storage driver is recommended.출처
overlay2
overlay2
is the preferred storage driver, for all currently supported Linux distributions, and requires no extra configuration.
Docker Engine - Community
- For Docker Engine - Community, only some configurations are tested, and your operating system’s kernel may not support every storage driver. In general, the following configurations work on recent versions of the Linux distribution:
Linux distribution Recommended storage drivers Alternative drivers Docker Engine - Community on Ubuntu overlay2
oraufs
(for Ubuntu 14.04 running on kernel 3.13)overlay
¹,devicemapper
²,zfs
,vfs
Docker Engine - Community on Debian overlay2
(Debian Stretch),aufs
ordevicemapper
(older versions)overlay
¹,vfs
Docker Engine - Community on CentOS overlay2
overlay
¹,devicemapper
²,zfs
,vfs
Docker Engine - Community on Fedora overlay2
overlay
¹,devicemapper
²,zfs
,vfs
Supported backing filesystems
- With regard to Docker, the backing filesystem is the filesystem where
/var/lib/docker/
is located. Some storage drivers only work with specific backing filesystems.
Storage driver Supported backing filesystems overlay2
,overlay
xfs
with ftype=1,ext4
aufs
xfs
,ext4
devicemapper
direct-lvm
btrfs
btrfs
zfs
zfs
vfs
any filesystem
Uninstall old versions
$ sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine