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

  1. docker-machine create --driver virtualBox --engine-registry-mirror http://f3c4aa23.m.daocloud.io default

Interlude

add sudo and with NOPASSWD linux sudo

  1. UBUNTU 14.04,edit with sudo visudo -f /etc/sudoers.d/newfile
  2.  
  3. your-name ALL=(ALL) NOPASSWD:ALL

注意切换有效用户组 groups newgrp

ssh

TLS

todo ....

generic install (LXC,ubuntu14.04)

  1. docker-machine create \
  2. --driver generic \
  3.  
  4. --generic-ip-address=192.168.31.243 \
  5.  
  6. --generic-ssh-key ~/.ssh/id_rsa \
  7.  
  8. --engine-registry-mirror http://f3c4aa23.m.daocloud.io \
  9.  
  10. --generic-ssh-user yuehui.hu \
  11.  
  12. manager

证书问题...,重新生成证书

  1. docker-machine regenerate-certs trusty

Cloud Install (Amazon)

猜你在找的Ubuntu相关文章