燕雀与鸿鹄之恋

名Practicer,字chksong, 号Mapducer

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Docker 1.0正式发布!1.0 版本包含很多新特性,这也是 Docker 的首个产品级的版本。从今天开始,你将会一直听到一个新的概念 —— Docker as a platform ,其组件包括 Docker 引擎、容器运行时和打包工具以及 Docker Hub,这是一个基于云端的协作、内容和工作流自动化的服务。

1  在Virtualbox虚拟机装好debian,确认内核版本

root@localhost:/home/chksong# uname -a
Linux localhost 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) x86_64 GNU/Linux

2   安装 docker

root@localhost:/home/chksong# apt-get update
root@localhost:/home/chksong# apt-get install docker.io

3    创建一个CentOS虚拟系统

root@localhost:/home/chksong# docker pull centos
pulling repository centos
5a1ebaa356ff: Download complete
68eb857ffb51: Downloading 37.51 MB/74.19 MB 17m22s

4   进入虚拟的CentOS系统

docker run -i -t centos  /bin/sh

5   验证下是否是centos

sh-4.2# cat /etc/redhat-release

CentOS Linux release 7.0.1406 (Core)

6  整个工作环境的有图有真相

docker 图片来自 openiris.cn

posted on 2014-09-14 13:17  Practicer  阅读(189)  评论(0编辑  收藏  举报