Chinaunix首页 | 论坛 | 博客
  • 博客访问: 367861
  • 博文数量: 162
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1501
  • 用 户 组: 普通用户
  • 注册时间: 2016-10-21 19:45
文章分类
文章存档

2018年(1)

2017年(101)

2016年(60)

分类: Windows平台

2017-03-05 14:02:51

遇到的问题:
If you are using windows command prompt instead of Docker QuickStart Terminal see  you should make following steps (assuming your docker machine has the name default):
  1. docker-machine start default or create new one
  2. docker-machine lswill show you your machine running
  3. docker-machine env --shell cmd default and you'll see something like

    SET DOCKER_TLS_VERIFY=1
    SET DOCKER_HOST=tcp://192.168.99.100:2376
    SET DOCKER_CERT_PATH=C:\Users\Arseny\.docker\machine\machines\default
    SET DOCKER_MACHINE_NAME=default
    REM Run this command to configure your shell:
    REM     FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO %i
  4. Run FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO %i
阅读(2186) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~