How to use this box with Vagrant:

Vagrant.configure("2") do |config|
  config.vm.box = "ailispaw/photon-mini"
end
vagrant init ailispaw/photon-mini
vagrant up

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.7.0
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 115MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.6.2
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 114MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.6.2
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 115MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.6.2
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 116MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.6.1
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 116MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.6.1
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 117MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Docker v1.6.0
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 114MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)

This version was created about 7 years ago.

Photon Vagrant Box for VirtualBox

  • Photon Container OS (Minimal) Installation
  • Install sudo
  • Add docker group and add vagrant to the docker group
  • Generate unique /etc/machine-id on the first boot
  • Support Docker provisioner
  • Support NFS synced folder
  • Support VirtualBox Shared Folder
  • 116MB

Cf.) https://github.com/ailispaw/photon-box

Vagrant Up

$ vagrant plugin install vagrant-guests-photon
$ vagrant box add ailispaw/photon-mini
$ vagrant init -m ailispaw/photon-mini
$ vagrant up

Sample Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.define "photon"

  config.vm.box = "ailispaw/photon-mini"

  config.vm.hostname = "photon.example.com"

  config.vm.network "private_network", ip: "192.168.33.10"

  config.vm.synced_folder ".", "/vagrant"
# Or
# config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ["nolock", "vers=3", "udp"]

  config.vm.provision :docker do |d|
    d.pull_images "busybox"
    d.run "simple-echo",
      image: "busybox",
      args: "-p 8080:8080 --restart=always",
      cmd: "nc -p 8080 -l -l -e echo hello world!"
  end

  config.vm.network :forwarded_port, guest: 8080, host: 8080
end
1 provider for this version.
  • virtualbox Externally hosted (github.com)