How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "ailispaw/barge"
end
vagrant init ailispaw/barge
vagrant up
This version was created over 2 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.56.101"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created over 5 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created over 5 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created over 5 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created over 5 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created over 5 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 6 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 6 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 6 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end
This version was created almost 6 years ago.
Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.
Cf.)
$ vagrant box add ailispaw/barge
$ vagrant init -m ailispaw/barge
$ vagrant up
# A dummy plugin for Barge to set hostname and network correctly at the very first `vagrant up`
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("2")
guest_capability("linux", "change_host_name") { Cap::ChangeHostName }
guest_capability("linux", "configure_networks") { Cap::ConfigureNetworks }
end
end
end
Vagrant.configure(2) do |config|
config.vm.define "barge"
config.vm.box = "ailispaw/barge"
config.vm.synced_folder ".", "/vagrant"
# for NFS synced folder
# config.vm.network :private_network, ip: "192.168.33.10"
# config.vm.synced_folder ".", "/vagrant", type: "nfs",
# mount_options: ["nolock", "vers=3", "udp", "noatime", "actimeo=1"]
# for RSync synced folder
# config.vm.synced_folder ".", "/vagrant", type: "rsync",
# rsync__args: ["--verbose", "--archive", "--delete", "--copy-links"]
config.vm.provision :docker do |d|
d.pull_images "busybox"
d.run "simple-echo",
image: "busybox",
args: "-p 8080:8080 -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init",
cmd: "nc -p 8080 -l -l -e echo hello world!"
end
config.vm.network :forwarded_port, guest: 8080, host: 8080
end