This project has been succeeded by DockerRoot.
RancherOS Lite is a light version of RancherOS as same as Only Docker.
It has no system-docker containers unlike RancherOS, but it combines with them to form normal processes at the top of RancherOS Base. Therefore, it works like boot2docker and it's easy to use Docker.
- Based on RancherOS Base with kernel v4.0.9 and buildroot/GLIBC
- 40 GB persistent disk
- Docker v1.7.1
- Support NFS synced folder
- Support VirtualBox Shared Folder
- Support Docker provisioner
- Disable TLS of Docker for simplicity
- Expose and forward the official IANA registered Docker port 2375
- Support resize the persistent disk
- Support upgrade and rollback
- 20 MB
$ git clone https://github.com/ailispaw/rancheros-lite.git
$ cd rancheros-lite
$ make
$ vagrant box add ailispaw/rancheros-lite
$ vagrant init -m ailispaw/rancheros-lite
$ vagrant up
Vagrant.configure(2) do |config|
config.vm.define "rancheros-lite"
config.vm.box = "ailispaw/rancheros-lite"
config.vm.synced_folder ".", "/vagrant"
if Vagrant.has_plugin?("vagrant-triggers") then
config.trigger.after [:up, :resume] do
info "Adjusting datetime after suspend and resume."
run_remote "sudo sntp -4sSc pool.ntp.org; date"
end
end
# Adjusting datetime before provisioning.
config.vm.provision :shell, run: "always" do |sh|
sh.inline = "sntp -4sSc pool.ntp.org; date"
end
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
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.
- RancherOS is licensed under the Apache License, Version 2.0.
- RancherOS Base is licensed under the Apache License, Version 2.0.
- Docker is licensed under the Apache License, Version 2.0.
- Vagrant: Copyright (c) 2010-2015 Mitchell Hashimoto, under the MIT License
- Packer: MPL2