docker-enabled-vagrant

Docker-enabled Vagrant boxes for Ubuntu 14.04, Debian 8, and CentOS 7

  • 所有者: William-Yeh/docker-enabled-vagrant
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Docker-enabled Vagrant boxes

Purpose

Some Linux distributions don't have a pre-installed Docker engine. Public Vagrant boxes (e.g., those in Atlas and Vagrantbox.es) also lack quality support for Docker. So I build these Vagrant boxes to aid my Docker development.

I also install some handy tools for Docker.

For the impatient

Use the following public box names (all available from Atlas service):

Included software

Build these boxes yourself

Here are steps you can follow to build these boxes on your own.

First, install the Packer tool on your host machine.

Second, pull the Bento submodule:

# pull the Bento project
git submodule init

# copy Bento stuff to sub-directories
# since Packer doesn't push soft links to Atlas (defects!)...
./copy-bento.sh

Third, choose the box directory of your choice:

# change working directory to any specific OS;
# for example, "ubuntu-trusty"
cd ubuntu-trusty

Now, you can either generate the Vagrant box file on your machine:

# build `ubuntu-trusty64-docker`:
packer build ubuntu-trusty64-docker.json


# build `ubuntu-trusty64-docker`, VirtualBox version only:
packer build -only=virtualbox-iso  \
       ubuntu-trusty64-docker.json


# build `ubuntu-trusty64-docker`, VirtualBox version only,
# with pre-downloaded ISO file from `file:///Volumes/ISO/`:
packer build -only=virtualbox-iso  \
       -var 'mirror=file:///Volumes/ISO/'  \
       ubuntu-trusty64-docker.json

you'll get an 'XXX.box' file in the builds directory, if successful.

Or, you can delegate the building and hosting tasks to Atlas:

# make sure the following environment variables are set:
#   ATLAS_TOKEN
#   ATLAS_USERNAME
packer push ubuntu-trusty64-docker.json

Alternatives

Some nice alternatives you may try:

License

Licensed under MIT license.

Copyright © 2014-2016 William Yeh - https://github.com/William-Yeh.

主要指标

概览
名称与所有者William-Yeh/docker-enabled-vagrant
主编程语言Shell
编程语言Shell (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2014-07-02 16:38:03
推送于2017-11-01 22:02:46
最后一次提交2016-08-30 14:26:43
发布数30
最新版本名称v1.12.0 (发布于 )
第一版名称v1.1.2 (发布于 )
用户参与
星数137
关注者数8
派生数44
提交数76
已启用问题?
问题数8
打开的问题数5
拉请求数4
打开的拉请求数2
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?