首先先安装docker
查看linux内核版本,因为Docker需要Linux 3.10以上的版本
[[email protected] ~]# uname -a
更新下yum并安装docker
[[email protected] ~]# yum update
[[email protected] ~]# yum install docker
安装好后,查看是否安装成功
[[email protected]~]# docker -v
Docker version 1.13.1, build 07f3374/1.13.1
启动docker
[[email protected]~]# service docker start
UI For Docker安装
Quickstart
[[email protected]~]# docker run -d -p 9000:9000 --privileged -v /var/run/docker.sock:/var/run/docker.sock uifd/ui-for-docker
Open your browser to http://<dockerd host ip>:9000