简体   繁体   English

在Antergos(Arch Linux)上启动Docker错误

[英]Start docker error on Antergos (Arch Linux)

I have installed docker on Antergos (Arch Linux) and followed this guide: https://gist.github.com/simonhoye/3b7312c05a449cd9073f9dc9265f5213 我已经在Antergos(Arch Linux)上安装了docker,并遵循了该指南: https ://gist.github.com/simonhoye/3b7312c05a449cd9073f9dc9265f5213

But when I execute sudo sysytemctl start docker I get this error: 但是当我执行sudo sysytemctl start docker此错误:

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

And this is the systemctl status docker.service command: 这是systemctl status docker.service命令:

docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor pres>
   Active: failed (Result: exit-code) since Thu 2019-01-17 16:28:01 CET; 5s ago
     Docs: https://docs.docker.com
  Process: 17013 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAI>
 Main PID: 17013 (code=exited, status=1/FAILURE)

ene 17 16:28:01 t480 systemd[1]: docker.service: Service RestartSec=100ms expir>
ene 17 16:28:01 t480 systemd[1]: docker.service: Scheduled restart job, restart>
ene 17 16:28:01 t480 systemd[1]: Stopped Docker Application Container Engine.
ene 17 16:28:01 t480 systemd[1]: docker.service: Start request repeated too qui>
ene 17 16:28:01 t480 systemd[1]: docker.service: Failed with result 'exit-code'.
ene 17 16:28:01 t480 systemd[1]: Failed to start Docker Application Container E>`

I have not idea what is happening... Because the guide and the steps to follow are very simple. 我不知道发生了什么...因为该指南和遵循的步骤非常简单。

it can be due to many reason so I am listing some common one's 可能由于多种原因,所以我列出了一些常见的原因

  • look inside /var/log/syslog for more info. / var / log / syslog内部查看更多信息。
  • If you remove /var/lib/docker , you'll lose existing images but it works for many people 如果删除/ var / lib / docker ,则会丢失现有映像,但它对许多人有用
    • Doing so simply wipes all your docker data, and is the equivalent to a "factory reset". 这样做只是擦除了所有docker数据,这等效于“出厂重置”。
  • it can also be due to missing kernel module aufs 也可能是由于缺少内核模块aufs
  • deleting the /var/run/docker.sock directory that had been created presumably as the docker service was shutting down 删除大概是在docker服务关闭时创建的/var/run/docker.sock目录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM