windows开发整docker就是痛苦,在公司win7电脑想拿起几年没再用的docker

结果直接报错

Error getting IP address: ssh command error:
command : ip addr show
err     : exit status 255

看起来是拿不到ip,因为在windows上,docker在virtualbox上,那就是虚拟机的ip问题,,,

大哥我只是想搞搞docker...你让我折腾virtualbox,所以说这些东西能linux就linux....

说真的,最喜欢这种带errcode的报错,github上找起来不是一般的块...

官方 https://github.com/docker/toolbox/issues/153

以下是他的解决方法,但是具体就是,把你的全删除干净,然后VirtualBox在配置一下

Here is what I did:Deleted all docker VMs (default, my-default etc.)Removed all "Host-only Networks" from VirtualBox -> Preferences -> NetworkUninstalled VirtualBoxDownloaded the latest VirtualBox installation file i.e. "VirtualBox-5.0.20-106931-Win.exe"Installed VirtualBox by running following command from Windows terminal:C:\Users\Home\Downloads>VirtualBox-5.0.20-106931-Win.exe -msiparams NETWORKTYPE=NDIS5Completed the VirtualBox installation by following the promptsRan Docker Quickstart Terminal which finally created and started the "default" VM successfully.

那么,我可不可以直接配置一下VirtualBox?

好吧问题又回到了折腾virtualbox.....

取巧偷他的图片装逼

折腾完,输入docker run hello-world,我决定还是回家用linux慢慢学...

转载于:https://www.cnblogs.com/ydymz/p/9869272.html

docker exit status 255解决相关推荐

  1. win7 docker的受难记——exit status 255的终极解决

    一 我真的认识到我有很多坏习惯,而这次坏就坏在我老是用Docker Quickstart Terminal,而不直接用cmd. 毕竟Docker Quickstart Terminal看属性就是cmd ...

  2. 解决执行Command报错exit status 255

    背景:go  exec.Command 以前从未遇到过err报错255的,这次算是踩了一次坑. 出现这种情况,可将命令本身组装起来在环境上直接执行(用和代码中完全一样的参数),用$?查看结果状态看是否 ...

  3. 安装MySQL-python报错 error: command 'gcc' failed with exit status 1解决方法

    错误如: _mysql.c:2331: error: '_mysql_ConnectionObject' has no member named 'open' _mysql.c:2338: error ...

  4. dev c++ 报错[Error] ld returned 1 exit status 的解决办法

    我是个C语言的初学者,在使用dev c++ 编译器时,遇到一个情况:程序是正确的,能够正常的编译和运行,但是运行一次之后再次运行之时就出现了 报错[Error] ld returned 1 exit ...

  5. 出现错误“subprocess.CalledProcessError: Command ‘[‘ninja‘, ‘-v‘]‘ returned non-zero exit status 1”解决方法

    这个错误的出现主要是因为pytorch版本大于1.5,可行的解决方法有两个: 1. 将pytorch版本降到1.5以下: 2. 将setup.py中的"cmdclass={'build_ex ...

  6. Mac os更新系统后安装scrapy报错error: command ‘xcrun‘ failed with exit status 1

    查看报错信息: In file included from src/twisted/test/raiser.c:4: In file included from /Library/Developer/ ...

  7. error: command 'gcc' failed with exit status 1

    使用 pip install scrapy 安装 scrapy 时,提示error: command 'gcc' failed with exit status 1 解决方法: yum  -y  in ...

  8. subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.

    subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1. 解决方法 ...

  9. 为啥我安装R包总出现‘...had non-zero exit status.‘??

    事情的起因是这样的,我想在R Studio中安装github中的包,执行了以下代码: install.packages("devtools", dependencies = TRU ...

最新文章

  1. Gatling教程系列一简单GET请求测试(二)
  2. android中的broadcastReceiver
  3. 00018计算机应用2018年4月,全国2019年4月自考00018《计算机应用基础》试题及答案...
  4. struts2标签处理下拉列表
  5. mysql 排版 指令_Mysql语句排版
  6. [Leedcode][JAVA][面试题 16.03. 交点]
  7. java 主线程等待_Java实现主线程等待子线程
  8. 微型计算机的字节取决于什么的宽度,计算机的字长取决于什么?
  9. java 关键字是运算符_Java的super关键字与instanceof运算符使用方法
  10. 命令行或终端ImportError:No module named(pycharm运行没问题)
  11. Rancher Managed Network实践
  12. python网络爬虫笔记-re正则表达式
  13. Excel选择下拉匹配
  14. java画直方图_算法练习(11):Java直方图的绘制(1.1.32)
  15. 小学生防溺水安全主题班会教案
  16. workman 日志_workerman
  17. iOS 局域网内搜索硬件设备
  18. 图像增强(拉普拉斯锐化增强)
  19. c语言中的.c文件和.h文件
  20. AI将带我们去何方?(中-论述篇)

热门文章

  1. 代码显示苹果 iOS 16.2 将允许 iPhone 更频繁刷新“实时活动”,但也更加耗电
  2. 通过例子学TLA+(八)--表达式
  3. Spring Cloud Alibaba 组件nacos安装使用
  4. 丁小平和微积分的故事:我们离“数学强国”有多远?
  5. 写在省选之前。best wish for me.
  6. 橄榄油能促进头发再生!!
  7. Vivado生成网表文件
  8. python五种常见的排序方法是_python中序列的排序,sorted方法、reversed方法的使用...
  9. 大学生php开发培训,PHP开发 开发培训学费
  10. 解决classNotFound的问题的思路