系统:
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
安装docker:
yum install docker -y
查看版本号:
[root@localhost ~]# docker -v
Docker version 1.12.6, build c4618fb/1.12.6
启动docker:
systemctl start docker.service
查看进程:
ps aux |grep docker
/usr/bin/dockerd-current
--add-runtime docker-runc=/usr/libexec/docker/docker-runc-current
--default-runtime=docker-runc
--exec-opt native.cgroupdriver=systemd
--userland-proxy-path=/usr/libexec/docker/docker-proxy-current
--selinux-enabled --log-driver=journald
--signature-verification=false
/usr/bin/docker-containerd-current
-l unix:///var/run/docker/libcontainerd/docker-containerd.sock
--shim docker-containerd-shim
--metrics-interval=0
--start-timeout 2m
--state-dir /var/run/docker/libcontainerd/containerd
--runtime docker-runc
--runtime-args
--systemd-cgroup=true