Centos 7 下载Docker 之后 运行时出现错误,错误信息如下:

 systemctl start docker
[root@hadoop14 sysconfig]# systemctl status docker.service
● docker.service - Docker Application Container EngineLoaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)Active: failed (Result: exit-code) since 日 2021-01-17 21:47:48 PST; 2min 35s agoDocs: http://docs.docker.comProcess: 3442 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)Main PID: 3442 (code=exited, status=1/FAILURE)1月 17 21:47:47 hadoop14 systemd[1]: Starting Docker Application Container Engine...
1月 17 21:47:47 hadoop14 dockerd-current[3442]: time="2021-01-17T21:47:47.438642956-08:00" level=warning msg="could not change group /var/run...t found"
1月 17 21:47:47 hadoop14 dockerd-current[3442]: time="2021-01-17T21:47:47.445339673-08:00" level=info msg="libcontainerd: new containerd proc...d: 3447"
1月 17 21:47:48 hadoop14 dockerd-current[3442]: time="2021-01-17T21:47:48.457951619-08:00" level=warning msg="overlay2: the backing xfs filesystem is...
1月 17 21:47:48 hadoop14 dockerd-current[3442]: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel...d=false)
1月 17 21:47:48 hadoop14 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
1月 17 21:47:48 hadoop14 systemd[1]: Failed to start Docker Application Container Engine.
1月 17 21:47:48 hadoop14 systemd[1]: Unit docker.service entered failed state.
1月 17 21:47:48 hadoop14 systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

进入目录

cd /etc/sysconfig

修改配置

 vi docker

启动Docker

 systemctl start docker

查看状态

[root@hadoop14 sysconfig]# docker infoContainers: 2Running: 2Paused: 0Stopped: 0
Images: 2
Server Version: 1.13.1
Storage Driver: overlay2Backing Filesystem: xfsSupports d_type: falseNative Overlay Diff: false
Logging Driver: journald
Cgroup Driver: systemd
Plugins: Volume: localNetwork: bridge host macvlan null overlay
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version:  (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 66aedde759f33c190954815fb765eedc1d782dd9 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: fec3683b971d9c3ef73f284f176672c44b448662 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:seccompWARNING: You're not using the default seccomp profileProfile: /etc/docker/seccomp.json
Kernel Version: 3.10.0-327.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 1
Total Memory: 1.782 GiB
Name: hadoop14
ID: WFJQ:XFND:YVAY:MBBL:5XQK:HUKU:DYPY:P2SX:AYI3:C2NP:DKZX:CBQW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:127.0.0.0/8
Registry Mirrors:https://docker.mirrors.ustc.edu.cn
Live Restore Enabled: false
Registries: docker.io (secure)

Centos7运行Docker1.13.1报错Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor pres相关推荐

  1. MySQL启动报错的处理方式:/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled

    在公司的测试环境中,发现所有数据均不展示,经排查发现为MySQL的问题,重启后报如下错误: [root@mysql-common-01 ~]# systemctl status mysqld.serv ...

  2. import scipy.io as sio报错:ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4

    运行import scipy.io as sio时报错 完美解决ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIB ...

  3. kafka 运行一段时间报错Too many open files

    kafka运行一段时间报错: 出现这种错误的解决方法: 1.修改操作系统中的环境变量 修改"/etc/security/limits.conf" vim /etc/security ...

  4. linux yum报错:Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

    linux yum报错:Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile   (C ...

  5. SpringBoot项目在eclipse中能运行,部署到服务器 nohup java -jar 方式运行就无法显示报错

    SpringBoot项目在eclipse中能运行,部署到服务器 nohup java -jar 方式运行就无法显示报错: *************************** APPLICATION ...

  6. 解决python导入当前文件夹下的包时可以运行,但编辑器报错

    比如导入当前文件夹下的config.py文件,使用: form ..config import xxx 其中..表示当前文件夹,在写代码时直接:from config import xx是不会报错的, ...

  7. 记一次升级node版本后,运行原vue项目报错问题解决方法

    记一次升级node版本后,运行原vue项目报错问题解决方法 参考文章: (1)记一次升级node版本后,运行原vue项目报错问题解决方法 (2)https://www.cnblogs.com/happ ...

  8. python 运行画图时,报错:“RuntimeError: Invalid DISPLAY variable“

    python 运行画图时,报错:"RuntimeError: Invalid DISPLAY variable" 错误描述 错误原因 matplotlib的默认backend是Tk ...

  9. 解决:idea运行scala程序,报错:Error:scalac: bad option: -make:transitive

    问题描述: idea运行scala程序,报错:Error:scalac: bad option: '-make:transitive'\ 解决办法: 1.进到项目的根目录下面. 2.进入.idea文件 ...

最新文章

  1. 函数返回引用什么意思_【20200917】编程入门第七课,函数(function)
  2. Android学习笔记进阶十三获得本地全部照片
  3. 怎么把一个控件放到tab页面上去?_移动端页面内容切换
  4. 在ECS实例的centos系统中安装Hadoop
  5. php 不同时区时间转换,在PHP中将DateTime字符串转换为不同的时区
  6. pip安装包时报错:The repository located at pypi.doubanio.com is not a trusted or secure host
  7. string字符串的高级用法
  8. html语言中 头元素的标记是,HTML元信息标记
  9. numpy 库使用说明
  10. 海康播放视频Demo
  11. C语言估算数学常量e,数学常数e
  12. WCDMA信令流程(非常详细)
  13. Jenkins构建从github上克隆时,报Host key verification failed.
  14. html5 red5,一个基于red5+flash的网络聊天室red5Chat
  15. 使用Pytorch框架
  16. 除了Kaggle,这里还有一些高质量的数据科学竞赛平台
  17. 关于自学编程,这些秒办法助你一臂之力(全文干货,建议收藏)
  18. 抖音直播各类话术?开场、留人、促单互动话术合集
  19. android校园超市平台英文文献,校园超市系统的设计与实现.doc
  20. java宅急送下载_pom.xml · blucywei/java宅急送物流管理项目 - Gitee.com

热门文章

  1. [AGC018F] Two Trees
  2. Fusion 360 免费正版下载教程(个人版)
  3. 3,uniapp功能之—蓝牙秤,连接蓝牙秤获取重量实时显示在页面上(坤宏的蓝牙秤)
  4. 上了adobe的贼船-JAVA操作PDF
  5. 两度冲刺港交所,润歌互动大浪淘沙如何出金?
  6. 优化算法中的鞍点与梯度下降
  7. C++实现double factorial双阶乘的算法(附完整源码)
  8. 解决:为什么谷歌浏览器启动主页是360导航,自己明明设置的是百度?
  9. PE制作实录 —— 补充说明
  10. 2021年全球点对点天线行业调研及趋势分析报告