You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »


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.

    출처


    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 distributionRecommended storage driversAlternative drivers
    Docker Engine - Community on Ubuntuoverlay2 or aufs (for Ubuntu 14.04 running on kernel 3.13)overlay¹, devicemapper², zfs, vfs
    Docker Engine - Community on Debianoverlay2 (Debian Stretch), aufs or devicemapper(older versions)overlay¹, vfs
    Docker Engine - Community on CentOSoverlay2overlay¹, devicemapper², zfs, vfs
    Docker Engine - Community on Fedoraoverlay2overlay¹, 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 driverSupported backing filesystems
    overlay2, overlayxfs with ftype=1, ext4
    aufsxfs, ext4
    devicemapperdirect-lvm
    btrfsbtrfs
    zfszfs
    vfsany filesystem


Uninstall old versions

  • $ sudo yum remove docker \
                      docker-client \
                      docker-client-latest \
                      docker-common \
                      docker-latest \
                      docker-latest-logrotate \
                      docker-logrotate \
                      docker-engine


  • No labels