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 配置为空:

    {
    
    }
  • 相关阅读:
    10000个线程更新同一行数据
    CountDownLatchTest
    创建 oracle dblin
    extjs日期控件使用
    JAVA Date超强工具类,可直接取代util.Date使用
    JSP&Servlet学习手册
    JAVA 文本 TXT 操作工具类
    Leetcode 526.优美的排列
    Leetcode 525.连续数组
    Leetcode 523.连续的子数组和
  • 原文地址:https://www.cnblogs.com/xiluhua/p/14242849.html
Copyright © 2011-2022 走看看