diskimage-builder的容器镜像

..
声明:
本博客欢迎转发,但请保留原作者信息!
博客地址:http://blog.csdn.net/halcyonbaby
新浪微博:@寻觅神迹

内容系本人学习、研究和总结,如有雷同,实属荣幸!


diskimage-builder是openstack tripleO项目的子项目,主要用于定制云上使用的虚拟机镜像。
项目依赖于一些软件/库,为了方便使用,我把项目打成了一个Docker image。
项目目前放在github上,并依赖于Dockerhub的autobuild功能进行自动构建。

diskimage-builder-dockerfile

Diskimage-builder is a tool for building cloud image in openstack.
This project dockerize the diskimage-builder, then we can use the tool without installing and configuring it.

manual build image

Run the below commands.


1. git clone https://github.com/ContainerTribe/diskimage-builder-dockerfile
2. cd diskimage-builder-dockerfile
3. docker build -t diskimage-builder-dockerfile:latest ./

download image from dockerhub

Run the below command to get docker image from dockerhub.


docker pull bohai/diskimage-builder-dockerfile

how to build an image


1. run the docker image 
docker run -it --privileged diskimage-builder-dockerfile /bin/bash
2. build your image
disk-image-build ubuntu vm 
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值