标签:
安装docker的先决条件:
Device Manager;
AUFS;
vfs;
btrfs;
默认存储驱动通常是Device Mapper.
----------------------------
检查Device Mapper
# ls -l /sys/class/misc/device-mapper
lrwxrwxrwx 1 root root 0 Mar 8 12:15 /sys/class/misc/device-mapper -> ../../devices/virtual/misc/device-mapper
# grep deice-mapper /proc/devices
如果没有检测到Device Mapper,便开始安装
# yum install -y device-mapper
安装完成后,还需要加载 dm_mod 内核模块
# modprobe dm_mod
# lsmod | grep dm_mod
开始安装docker,前提准备好epel源
# yum -y install docker-io
# service docker start
# docker info (验证)
标签:
原文地址:http://www.cnblogs.com/wjoyxt/p/5254275.html