{"id":19368736,"url":"https://github.com/chaifeng/bento-ubuntu-docker","last_synced_at":"2026-02-02T15:36:02.493Z","repository":{"id":71584573,"uuid":"129350954","full_name":"chaifeng/bento-ubuntu-docker","owner":"chaifeng","description":"Vagrant Ubuntu box with docker pre-installed","archived":false,"fork":false,"pushed_at":"2024-11-22T09:27:09.000Z","size":63,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T15:46:26.856Z","etag":null,"topics":["docker","ubuntu","vagrant"],"latest_commit_sha":null,"homepage":"https://app.vagrantup.com/chaifeng/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaifeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-13T05:12:05.000Z","updated_at":"2024-11-22T09:27:13.000Z","dependencies_parsed_at":"2025-04-23T15:52:53.202Z","dependency_job_id":null,"html_url":"https://github.com/chaifeng/bento-ubuntu-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chaifeng/bento-ubuntu-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fbento-ubuntu-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fbento-ubuntu-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fbento-ubuntu-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fbento-ubuntu-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaifeng","download_url":"https://codeload.github.com/chaifeng/bento-ubuntu-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaifeng%2Fbento-ubuntu-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29014370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T14:58:54.169Z","status":"ssl_error","status_checked_at":"2026-02-02T14:58:51.285Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","ubuntu","vagrant"],"created_at":"2024-11-10T08:08:07.200Z","updated_at":"2026-02-02T15:36:02.479Z","avatar_url":"https://github.com/chaifeng.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant Ubuntu Box With Docker Pre-installed\n\nThese vagrant images are build base on Bento project [chef/bento: Packer templates for building minimal Vagrant baseboxes](https://github.com/chef/bento)\n\n## Usage\n\n    vagrant init chaifeng/ubuntu-18.04-docker-18.06\n\nVisit https://app.vagrantup.com/chaifeng/ to find more images.\n\n## Build\n\n### Dependencies\n\n- [jq](https://stedolan.github.io/jq/)\n- [ivarch.com: Pipe Viewer](https://www.ivarch.com/programs/pv.shtml)\n\n    brew install jq pv\n\n### Build Images\n\nFirst, we need to generate an authentication token at https://app.vagrantup.com/setting/security\n\n    export VAGRANT_CLOUD_TOKEN=your-vagrant-cloud-authentication-token\n    export VAGRANT_CLOUD_USER=your-vagrant-cloud-username\n    \n    # Build and upload an Ubuntu image with Docker pre-installed\n    BENTO_UBUNTU=ubuntu-18.04 DOCKER_VERSION=18.06 ./build-box.sh\n    \n    # Build and upload an image for VMWare Fusion\n    VAGRANT_DEFAULT_PROVIDER=vmware_fusion BENTO_UBUNTU=ubuntu-18.04 DOCKER_VERSION=18.06 ./build-box.sh\n\n# 预装了 Docker 的 Vagrant Ubuntu 镜像\n\n这些 Vagrant 镜像是基于 Chef 团队的 Bento 镜像构建的 [chef/bento: Packer templates for building minimal Vagrant baseboxes](https://github.com/chef/bento)\n\n## 使用\n\n    vagrant init chaifeng/ubuntu-18.04-docker-18.06\n    \n访问 https://app.vagrantup.com/chaifeng/ 这里查看更多的镜像\n\n另外，可能需要参考官方的 [Docker 镜像加速](https://www.docker-cn.com/registry-mirror) 文档来加速国内的下载速度。\n\n或者在 `Vagrantfile` 里面添加下面的代码\n\n    config.vm.provision 'docker-cn', type: 'shell', inline: \u003c\u003c-SHELL\n      [[ -f /etc/docker/daemon.json ]] \u0026\u0026 exit 0\n      \n      echo '{ \"registry-mirrors\": [\"https://registry.docker-cn.com\"] }' \u003e /etc/docker/daemon.json\n      \n      if type systemctl \u0026\u003e/dev/null; then\n        systemctl restart docker\n      else\n        service docker restart\n      fi\n    SHELL\n  \n## 构建自己的镜像\n\n### 依赖\n\n- [jq](https://stedolan.github.io/jq/)\n- [ivarch.com: Pipe Viewer](https://www.ivarch.com/programs/pv.shtml)\n\n    brew install jq pv\n\n### 构建镜像\n\n首先，我们需要在 https://app.vagrantup.com/settings/security 这里生成一个令牌。\n\n    export VAGRANT_CLOUD_TOKEN=your-vagrant-cloud-authentication-token\n    export VAGRANT_CLOUD_USER=your-vagrant-cloud-username\n    \n    # 构建并上传一个预装了 Docker 的 Ubuntu 镜像\n    BENTO_UBUNTU=ubuntu-18.04 DOCKER_VERSION=18.06 ./build-box.sh\n    \n    # 构建 VMWare Fusion 的镜像\n    VAGRANT_DEFAULT_PROVIDER=vmware_fusion BENTO_UBUNTU=ubuntu-18.04 DOCKER_VERSION=18.06 ./build-box.sh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaifeng%2Fbento-ubuntu-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaifeng%2Fbento-ubuntu-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaifeng%2Fbento-ubuntu-docker/lists"}