CoreOS is a lightweight OS with docker. Here is how to install it on qemu-kvm, aka Virtual Machine Manager.

Download the CoreOS iso, create a new VM at least 2G ram, boot the VM.

Reset the password for core user, ssh to the machine, create a install.yaml file

Install coreos to disk with the following command:

Poweoff the vm. Remove the iso image and update the boot order. Boot the VM, ssh to it with your ssh key. DockerCE is pre-installed in the stable channel.

By default, coreos gets IP from DHCP. To setup static IP, ssh to the machine and create the following file

Then run systemctl restart systemd-networkd to restart networking.

Now let’s deploy our first container on coreos. My favorite image is etherpad. The following will get etherpad up and running in less than a minute.

Next step will be to read this step-by-step guide for setting up kubernetes on coreos. Did you know Rackspace cloud offers CoreOS? Couple of catchas with their image

The password provided to you during provisioning is meant for the core user, not root.

Their image is outdated. Not to worry, it can be easily updated with the following commands