zoukankan      html  css  js  c++  java
  • docker exit status 255解决

    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 -> Network
        Uninstalled VirtualBox
        Downloaded the latest VirtualBox installation file i.e. "VirtualBox-5.0.20-106931-Win.exe"
        Installed VirtualBox by running following command from Windows terminal:
        C:UsersHomeDownloads>VirtualBox-5.0.20-106931-Win.exe -msiparams NETWORKTYPE=NDIS5
        Completed the VirtualBox installation by following the prompts
        Ran Docker Quickstart Terminal which finally created and started the "default" VM successfully.

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

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

    取巧偷他的图片装逼

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

  • 相关阅读:
    h5之js生成二维码
    h5手势密码开发(使用jq)
    html可用于跨域的三个标签
    原生js实现ajax
    js中parentNode,parentElement,childNodes,children
    js字符串操作之substr与substring
    pyhton之os.path
    [bzoj1510][POI2006]Kra-The Disks_暴力
    [bzoj4994][Usaco2017 Feb]Why Did the Cow Cross the Road III_树状数组
    [bzoj2506]calc_分块处理
  • 原文地址:https://www.cnblogs.com/ydymz/p/9869272.html
Copyright © 2011-2022 走看看