ubuntu -/var/run/docker.sock : no such file or directory. 您是否尝试在没有 TLS 的情况下连接到启用 TLS 的守护程序?

标签 ubuntu docker boot2docker

当我尝试运行 docker info 时,我对 docker 非常陌生。它给了我以下错误。

$ docker info
FATA[0000] Get http:///var/run/docker.sock/v1.17/info: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? 

我使用的是 ubuntu 14.04。 我按照上面提到的安装说明进行操作 https://docs.docker.com/installation/ubuntulinux/#installing-docker-on-ubuntu

但我仍然收到错误消息。 我该如何解决这个问题?

最佳答案

出现这个错误是因为我安装 docker 后没有重启电脑。 现在上面的命令对我有用。

关于ubuntu -/var/run/docker.sock : no such file or directory. 您是否尝试在没有 TLS 的情况下连接到启用 TLS 的守护程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29349112/

相关文章:

docker - 如何在 Docker Hub 上设置图像配置文件?

windows-8.1 - 在 Windows 中从 boot2docker 打开 Ipython 笔记本

Windows 上的 Docker 使用 Hyper-V。如何在拉取大量图像时动态地向 docker 添加空间或扩展到硬盘驱动器

linux - 在 windows docker 工具箱上阻止设备访问

python-3.x - 如何在 Spacy 中使用神经核函数

python - 如何在构建过程中安装私有(private) Python 包

Dockerfile : COPY/ADD and RUN with rm in a single layer

ruby-on-rails - rails 目前在重启后没有安装

android - 为 Android ARMV7 编译 OpenSSL 1.1.0

linux - 如何在 Ubuntu 中更新 Scala 版本