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

    {
    
    }
  • 相关阅读:
    html 一号店静态页面
    多线程
    TCP通信
    MySQL连接查询
    Mysql数据库 DDL 数据定义语言
    MySQL数据库 DML 数据操作语言
    java字符流
    java File类
    java变量
    JDK、JRE、JVM的关系
  • 原文地址:https://www.cnblogs.com/xiluhua/p/14242849.html
Copyright © 2011-2022 走看看