docker安装完报错:Failed to start docker.service: Unit docker.service is masked

执行

systemctl start docker

报错

Failed to start docker.service: Unit docker.service is masked.

解决

systemctl unmask docker.service
systemctl unmask docker.socket
systemctl start docker.service

原文地址:https://www.cnblogs.com/chenqionghe/p/11478863.html

时间: 2024-07-30 23:15:36

docker安装完报错:Failed to start docker.service: Unit docker.service is masked的相关文章

docker安装启动报错

安装docker后测试pull个镜像发现报错 [[email protected] ~]# /etc/init.d/docker status Cannot connect to the Docker daemon. Is 'docker -d' running on this host? 报错解决: (1).查看docker状态 [[email protected] ~]# /etc/init.d/docker status docker 已死,但 pid 文件仍存 (2).查看日志文件 /u

CentOS7安装MySQL报错Failed to start mysqld.service: Unit not found解决办法

1 ~]# systemctl start mysql.service 要启动MySQL数据库是却是这样的提示 1 ~]# Failed to start mysqld.service: Unit not found 解决方法如下: 首先需要安装mysql-server 1 ~]# yum install -y mysql-server 启动服务 1 ~]# systemctl start mysqld.service 添加到开机启动 1 ~]# systemctl enable mysqld.

安装MySQL-python报错error: command 'gcc' failed with exit status 1

[[email protected] MySQL-python-1.2.3]# python setup.py install function) .... _mysql.c:133: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function) _mysql.c:380: error: '_mysql_ConnectionObject' has no member named 'connection' _mysql.c:382

centos7 安装docker后启动报错

启动docker $ sudo systemctl start docker 报错. 查看状态: $ systemctl status docker.service -l 加 -l 有的行信息很长,打印的时候会省略,加此参数则全部显示. 报错信息: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kerne

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python virtualenv安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描写叙述 使用pip依照virtualenv报错,例如以下: pip install virtualenv Collecting virtualenv /opt/python27/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An

python27(32位)安装模块报错“error: Unable to find vcvarsall.bat”

1)首先,下载一个Microsoft Visual C++ Compiler for Python 2.7的补丁,下载地址在这里: http://www.microsoft.com/en-us/download/details.aspx?id=44266 2) 然后下载安装VS2008(对应VER9.0),如果电脑上安装的是VS2010(对应VER10.0), 可以在VS命令行下执行:SET VS90COMNTOOLS=%VS100COMNTOOLS% 如果你安装的是 2012 版(对应VER1

Eclipse启动 报错[Failed to load the JNI shared library jvm.dll

准备要做java服务器,在安装开发环境时,启动Eclipse报错[Failed to load the JNI shared library jvm.dll] 研究了下,造成错误的原因是由于eclipse与jdk的不一致造成的. 我的开发环境是64位windows8 Pro,安装了64位jdk1.6,eclipse却粗物的安装了32位的版本,由于64位和32位匹配不一致,造成了以上错误的发生. 又尝试了一下,32位jdk+64位eclipse也会发生同样的问题. 好了,解决方法很简单,jdk和e

CentOS 6安装KVM后安装虚拟机报错

安装KVM在配置完桥接网卡后,安装虚拟机报错. 附有CentOS 6安装KVM文档,和安装过程截图,可否有人能看出其中问题所在,小女子不胜感激.

Python djangorestframework安装库报错SSL: CERTIFICATE_VERIFY_FAILED

Python djangorestframework 安装库报错SSL: CERTIFICATE_VERIFY_FAILED 问题描述 使用pip按照virtualenv报错,如下: pip install djangorestframework Collecting djangorestframework Could not fetch URL https://pypi.python.org/simple/djangorestframework/: There was a problem co