{"id":27390285,"url":"https://github.com/ailispaw/photon-box","last_synced_at":"2025-04-13T19:39:35.778Z","repository":{"id":31023559,"uuid":"34582084","full_name":"ailispaw/photon-box","owner":"ailispaw","description":"Photon Vagrant Box for VirtualBox","archived":false,"fork":false,"pushed_at":"2015-06-19T03:27:14.000Z","size":220,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-02-27T14:37:23.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ailispaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-25T19:08:47.000Z","updated_at":"2021-11-26T16:36:19.000Z","dependencies_parsed_at":"2022-09-08T18:23:16.220Z","dependency_job_id":null,"html_url":"https://github.com/ailispaw/photon-box","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fphoton-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fphoton-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fphoton-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fphoton-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ailispaw","download_url":"https://codeload.github.com/ailispaw/photon-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248769931,"owners_count":21158886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-04-13T19:39:35.165Z","updated_at":"2025-04-13T19:39:35.768Z","avatar_url":"https://github.com/ailispaw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Photon Vagrant Box for VirtualBox\n\n- Photon Container OS (Minimal) Installation\n- Docker v1.7.0\n- Install sudo\n- Add docker group and add vagrant to the docker group\n- Generate unique /etc/machine-id on the first boot\n- Support Docker provisioner\n- Support NFS synced folder\n- Support VirtualBox Shared Folder\n- 117MB\n\n## How to Build a Box\n\n```\n$ git clone https://github.com/ailispaw/photon-box.git\n$ cd photon-box\n$ make\n```\n\n## Vagrant Up\n\n```\n$ vagrant plugin install vagrant-guests-photon\n$ vagrant box add -f photon-mini photon-mini.box\n$ vagrant init -m photon-mini\n$ vagrant up\n```\n\n## Sample Vagrantfile\n\n```ruby\nVagrant.configure(2) do |config|\n  config.vm.define \"photon\"\n\n  config.vm.box = \"photon-mini\"\n\n  config.vm.hostname = \"photon.example.com\"\n\n  config.vm.network \"private_network\", ip: \"192.168.33.10\"\n\n  config.vm.synced_folder \".\", \"/vagrant\"\n# Or\n# config.vm.synced_folder \".\", \"/vagrant\", type: \"nfs\", mount_options: [\"nolock\", \"vers=3\", \"udp\"]\n\n  config.vm.provision :docker do |d|\n    d.pull_images \"busybox\"\n    d.run \"simple-echo\",\n      image: \"busybox\",\n      args: \"-p 8080:8080 --restart=always\",\n      cmd: \"nc -p 8080 -l -l -e echo hello world!\"\n  end\n\n  config.vm.network :forwarded_port, guest: 8080, host: 8080\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Fphoton-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failispaw%2Fphoton-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Fphoton-box/lists"}