steps - coreos up
-
on windows
-
download virtualbox from https://www.virtualbox.org and install it
-
download vagrant_1.8.3.msi from www.vagrantup.com and install it
-
clone coreos-vagrant github project
# 1. clone $ git clone https://github.com/coreos/coreos-vagrant/ # 2. cloud-config $ cd coreos-vagrant $ mv user-data.sample user-data # 3. replace text between `etcd2` and `fleet` etcd2: name: core-01 initial-advertise-peer-urls: http://$private_ipv4:2380 listen-peer-urls: http://$private_ipv4:2380,http://$private_ipv4:7001 initial-cluster-token: core-01_etcd initial-cluster: core-01=http://$private_ipv4:2380 initial-cluster-state: new advertise-client-urls: http://$private_ipv4:2379, http://$public_ipv4:4001 listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 fleet:
-
startup and ssh
# 1. boot coreos vm host $ vagrant up # 2. open `ssh` connection to vm $ vagrant ssh # 3. verify `etcd fleet docker` $ systemctl status etcd2 $ systemctl status fleet $ docker version
-
-
on mac