zoukankan      html  css  js  c++  java
  • docker安装执行问题

    ubuntu14.04上安装docker问题:
    sudo apt-get update
    curl -fsSL https://get.docker.com -o get-docker.sh

    sh get-docker.sh

    查看docker版本:docker version

    Client:
    Version: 18.06.3-ce
    API version: 1.38
    Go version: go1.10.3
    Git commit: d7080c1
    Built: Wed Feb 20 02:27:13 2019
    OS/Arch: linux/amd64
    Experimental: false

    Server:
    Engine:
    Version: 18.06.3-ce
    API version: 1.38 (minimum version 1.12)
    Go version: go1.10.3
    Git commit: d7080c1
    Built: Wed Feb 20 02:25:38 2019
    OS/Arch: linux/amd64
    Experimental: false

    然后测试docker是否可以运行:docker run hello-world

    报错显示:

    docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused "write init-p: broken pipe"": unknown.
    ERRO[0000] error waiting for container: context cancele

    查看内核版本:uname -r

    3.13.0-119-generic

    报错原因:docker版本过高,内核版本过低造成。
    解决办法:降低docker的版本或升级内核版本。

    具体操作流程查看https://www.jianshu.com/p/417044976e3e
  • 相关阅读:
    缓存服务器
    Consistent Hashing算法-搜索/负载均衡
    MinHash算法-复杂度待整理
    搜索引擎spam
    C语言字节对齐
    关于访问权限的问题
    计蒜客button 概率
    LightOJ
    LightOJ
    LightOJ
  • 原文地址:https://www.cnblogs.com/forward-wang/p/10937000.html
Copyright © 2011-2022 走看看