zoukankan      html  css  js  c++  java
  • docker 启动异常

    linux

    CentoOS-7.2

    docker 启动异常一

    Jan 07 00:49:42 localhost.jarvis dockerd-current[53365]: time="2021-01-07T00:49:42.965686913+08:00" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
    Jan 07 00:49:42 localhost.jarvis dockerd-current[53365]: time="2021-01-07T00:49:42.969009357+08:00" level=info msg="libcontainerd: new containerd process, pid: 53371"
    Jan 07 00:49:44 localhost.jarvis dockerd-current[53365]: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel 
    or disable selinux in docker (--selinux-enabled=false) Jan 07 00:49:44 localhost.jarvis systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE Jan 07 00:49:44 localhost.jarvis systemd[1]: Failed to start Docker Application Container Engine.

    解决办法:vim /etc/sysconfig/docker

    配置: --selinux-enabled=false

    docker 启动异常二

    Jan 07 00:47:29 localhost.jarvis dockerd-current[53283]: unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF 
    Jan 07 00:47:29 localhost.jarvis systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
    Jan 07 00:47:29 localhost.jarvis systemd[1]: Failed to start Docker Application Container Engine.
    -- Subject: Unit docker.service has failed

    解决办法:vim /etc/docker/daemon.json 配置为空:

    {
    
    }
  • 相关阅读:
    【BZOJ2288】生日礼物 [贪心]
    Tinyhttpd阅读笔记
    数据结构-图-经典算法(三)
    数据结构-图-经典算法(二)
    数据结构-图-经典算法(一)
    TCP协议的滑动窗口协议以及流量控制
    2016腾讯实习电话面试总结---2016-03-10
    B树,B+树,B*树
    平衡二叉树(AVL树)
    二叉搜索树(二叉查找树,二叉排序树)
  • 原文地址:https://www.cnblogs.com/xiluhua/p/14242849.html
Copyright © 2011-2022 走看看