ubuntu 14.04 trusty docker-machine install

原创
2017/06/02 13:57
阅读数 40

Docker machine doc

Download docker-machine

Download virtual machine

virtualbox download

Download boot2docker

boot2docker download manual make boot2docker.iso

Set docker registry

dao cloud

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

ssh

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

Cloud Install (Amazon)

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部