docker-启动失败,因为未找到/ etc / fstab [英] docker - start failed because /etc/fstab not found

查看:1561
本文介绍了docker-启动失败,因为未找到/ etc / fstab的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Window Linux子系统(Debian Stretch)。按照Docker网站上的说明,我安装了docker-ce,但无法启动。这是信息:

I'm using Window Linux Subsystem (Debian stretch). Followed the instruction on Docker website, I installed docker-ce, but it cannot start. Here is the info:

$ sudo service docker start
grep: /etc/fstab: No such file or directory
[ ok ] Starting Docker: docker.
$ sudo service docker status
[FAIL] Docker is not running ... failed!

/ etc / fstab我应该怎么做找不到?

推荐答案

我遇到了同样的错误。显然,在使用Debian安装WSL时,我没有etc / fstab文件。令人惊讶的是,仅通过'touch'创建文件起作用了:

I was getting the same error. Apparently on my install of WSL with Debian, I didn't have an etc/fstab file. Surprisingly, just creating the file via 'touch' worked:

sudo touch /etc/fstab

这篇关于docker-启动失败,因为未找到/ etc / fstab的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆