Download docker-machine
Download virtual machine
Download boot2docker
boot2docker download manual make boot2docker.iso
Set docker registry
docker-machine create --driver virtualBox --engine-registry-mirror http://f3c4aa23.m.daocloud.io default
Interlude
add sudo and with NOPASSWD linux sudo
UBUNTU 14.04,edit with sudo visudo -f /etc/sudoers.d/newfile your-name ALL=(ALL) NOPASSWD:ALL
注意切换有效用户组 groups newgrp
TLS
todo ....
generic install (LXC,ubuntu14.04)
docker-machine create \ --driver generic \ --generic-ip-address=192.168.31.243 \ --generic-ssh-key ~/.ssh/id_rsa \ --engine-registry-mirror http://f3c4aa23.m.daocloud.io \ --generic-ssh-user yuehui.hu \ manager
证书问题...,重新生成证书
docker-machine regenerate-certs trusty