ubuntu 14.04 trusty docker-machine install

前端之家收集整理的这篇文章主要介绍了ubuntu 14.04 trusty docker-machine install前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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)

猜你在找的Ubuntu相关文章