AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-268281

Kutsubato's questions

Martin Hope
Kutsubato
Asked: 2018-02-28 03:22:44 +0800 CST

docker.service 未在 Linux Mint 18.3 下启动

  • 1

在我运行 x64 Linux Mint 18.3 Cinnamon 的笔记本上,我尝试安装 Docker:

sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \
  --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

sudo apt-add-repository 'deb https://apt.dockerproject.org/repo 
ubuntu-xenial main'

sudo apt update

sudo apt install linux-image-generic linux-image-extra-virtual

sudo apt install docker-engine

只有在最后一步,该过程才会失败。我猜它实际上是在安装软件,但我的系统无法执行 Docker 服务:

Job for docker.service failed because the control process exited with 
error code. See "systemctl status docker.service" and "journalctl -xe" 
for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor 
preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Di 2018-
02-
27 10:45:35 CET; 17ms ago
Docs: https://docs.docker.com
Process: 9906 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, 
status=1/FAILURE)
Main PID: 9906 (code=exited, status=1/FAILURE)

Feb 27 10:45:35 silberpfeil systemd[1]: Failed to start Docker 
Application Container Engine.
Feb 27 10:45:35 silberpfeil systemd[1]: docker.service: Unit entered 
failed state.
Feb 27 10:45:35 silberpfeil systemd[1]: docker.service: Failed with 
result 'exit-code'.

“Silberpfeil”是我系统的名称。在这个错误协议中,有一个提示说我应该在下面查找这个错误

  • “systemctl 状态 docker.service”
  • “journalctl -xe”

第一个返回:

● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor 
preset: enabled)
Active: inactive (dead) (Result: exit-code) since Di 2018-02-27 
10:45:38 CET; 9min ago
Docs: https://docs.docker.com
Process: 10011 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, 
status=1/FAILURE)
Main PID: 10011 (code=exited, status=1/FAILURE)

Feb 27 10:45:38 silberpfeil systemd[1]: Failed to start Docker 
Application Container Engine.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Unit entered 
failed state.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Failed with 
result 'exit-code'.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Service hold-
off time over, scheduling restart.
Feb 27 10:45:38 silberpfeil systemd[1]: Stopped Docker Application 
Container Engine.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Start request 
repeated too quickly.
Feb 27 10:45:38 silberpfeil systemd[1]: Failed to start Docker 
Application Container Engine.

第二个说的太多了,不能在这里发布。只要你不需要它的帮助。俯瞰它,我可以通过 grep 看到一些说 Docker 的东西:

Feb 27 10:45:37 silberpfeil dockerd[10011]: time="2018-02-
27T10:45:37.123564185+01:00" level=info msg="libcontainerd: new 
containerd process, pid: 10033"
Feb 27 10:45:38 silberpfeil dockerd[10011]: time="2018-02-
27T10:45:38.129863280+01:00" level=warning msg="failed to rename 
/var/lib/docker/tmp for background deletion: %!s(<nil>). Deleting 
synchronously"
Feb 27 10:45:38 silberpfeil dockerd[10011]: time="2018-02-
27T10:45:38.140660647+01:00" level=error msg="[graphdriver] prior 
storage driver aufs failed: driver not supported"
Feb 27 10:45:38 silberpfeil dockerd[10011]: Error starting daemon: 
error initializing graphdriver: driver not supported
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Main process 
exited, code=exited, status=1/FAILURE
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Unit entered 
failed state.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Failed with 
result 'exit-code'.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Service hold-
off time over, scheduling restart.
-- Subject: Unit docker.service has finished shutting down
-- Unit docker.service has finished shutting down.
-- Subject: Unit docker.socket has finished shutting down
-- Unit docker.socket has finished shutting down.
-- Subject: Unit docker.socket has begun shutting down
-- Unit docker.socket has begun shutting down.
-- Subject: Unit docker.socket has begun start-up
-- Unit docker.socket has begun starting up.
-- Subject: Unit docker.socket has finished start-up
-- Unit docker.socket has finished starting up.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.service: Start request 
repeated too quickly.
-- Subject: Unit docker.service has failed
-- Unit docker.service has failed.
Feb 27 10:45:38 silberpfeil systemd[1]: docker.socket: Unit entered 
failed state.

有人能找到东西吗?

docker
  • 1 个回答
  • 1731 Views
Martin Hope
Kutsubato
Asked: 2018-02-13 14:43:15 +0800 CST

在没有用户交互的情况下安装 Pi-Hole?

  • 2

我想在 Vagrant (VirtualBox) 中自动安装 Pi-Hole。因此,在自动化脚本中,它必须运行才能启动。不幸的是,通常情况下,您必须回答多个安装问题才能安装 Pi-Hole,例如 IPv4 或 6,...,并且您需要与设置进行键盘交互(由用户)。

有没有任何方法或解决方案可以在没有任何交互的情况下安装它?如何在 Bash 脚本或 Vagrantfile 中编写它?

software-installation vagrant
  • 2 个回答
  • 2571 Views
Martin Hope
Kutsubato
Asked: 2018-01-01 11:48:01 +0800 CST

Linux Mint 18 是否积极使用 AppArmor?

  • 2

在我的笔记本上安装新的 Linux Mint 18.3(64 位)下,命令

$ sudo apparmor_status

返回以下内容:

apparmor module is loaded.
apparmor filesystem is not mounted.

AppArmor 是否配置为在 Linux Mint 下使用,还是我必须先启用和配置它?因为,如您所见,该命令不会返回活动 AppArmor 配置文件的列表。

linux-mint security
  • 2 个回答
  • 2019 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve