..
声明:
本博客欢迎转发,但请保留原作者信息!
博客地址:http://blog.csdn.net/halcyonbaby
新浪微博:@寻觅神迹
内容系本人学习、研究和总结,如有雷同,实属荣幸!
diskimage-builder是openstack tripleO项目的子项目,主要用于定制云上使用的虚拟机镜像。
项目依赖于一些软件/库,为了方便使用,我把项目打成了一个Docker image。
项目目前放在github上,并依赖于Dockerhub的autobuild功能进行自动构建。
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.
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 ./
Run the below command to get docker image from dockerhub.
docker pull bohai/diskimage-builder-dockerfile
1. run the docker image
docker run -it --privileged diskimage-builder-dockerfile /bin/bash
2. build your image
disk-image-build ubuntu vm