操作系统为
# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core)
docker安装
# yum install -y docker
docker安装目录:
/var/lib/docker
docker日志目录:
/var/log/messages
docker配置文件目录:
/etc/sysconfig/docker
cat /etc/sysconfig/docker OPTIONS='--selinux-enabled --log-driver=journald' DOCKER_CERT_PATH=/etc/docker
docker网络目录:
/etc/sysconfig/docker-network
docker存储目录:
/etc/sysconfig/docker-storage
docker pid目录:
/run/docker.pid
docker命令:
/usr/bin/docker