docker在windows上无法跑起来的解决方法

docker 无法开启 daemon:

Hi, thanks for those details, if can help even more here is a resume of what I did : 1) "C:\Program Files\Docker Toolbox\docker-machine" ls 2) Install a nighlty build of Virtual Box 3) docker-machine regenerate-certs default (before installing a nighlty build Virtual Box this commands never ended) 4)"C:\Program Files\Docker Toolbox\docker-machine" env default --shell=cmd 5) Open Docker Terminal and set the variables 6) Close Docker Terminanl an re-open it, now it works ;-) – Baptiste GaillardAug 23 at 19:26 

详见:http://stackoverflow.com/questions/32047660/docker-for-windows-not-working/32114561


docker run -it 出问题:

docker-machine ssh default

docker run -it ubuntu /bin/bash

详见:http://blog.csdn.net/bearox/article/details/49281221


docker-machine 共享文件夹

sudo mount -t vboxsf /opt/my/folder/with/code /my_windows_folder

转载于:https://my.oschina.net/jmjoy/blog/525041

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值