Mostly copied from http://qiita.com/A-I/items/f6f4b1b50fed9db739df
Install Veertu and download and start the CoreOS image.
$ sudo passwd core
The IP address is shown in the GUI
$ ssh [email protected] -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
Create a cloud-config.yml
file to upgrade CoreOS, add your ssh key and open the docker socket when CoreOS starts:
#cloud-config
ssh_authorized_keys:
- ssh-rsa AAAAB6NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== [email protected]
coreos:
units:
- name: docker-tcp.socket
command: start
runtime: no
content: |
[Unit]
Description=Docker Socket for the API
[Socket]
ListenStream=2375
Service=docker.service
BindIPv6Only=both
[Install]
WantedBy=sockets.target
- name: docker.service
command: start
The modified installer (attached) uses a local image. This allows multiple install without downloading every time. Get the image with the following command:
$ curl -O http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2
$ curl -O http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2.sig
$ curl -O https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install
Then use the modified installer
$ sudo ./coreos-install -d /dev/sda -V current -C stable -c cloud-config.yml
$ sudo reboot
$ export DOCKER_HOST=tcp://192.168.64.8:2375
$ docker info