我在网上搜索,到处都找不到好的答案。当我运行docker-compose up、down或任何命令时,我都会遇到这个错误。 cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way
snap-update-ns failed with code 1 它工作得很好,突然出现了这个问题。我的操作系统是Ubuntu 20.04 docker版本20.10.8 任何形式的帮助都是值得感谢的。
zouz@zouz:~$ docker -v
Docker version 20.10.8, build 3967b7d28e
zouz@zouz:~$ sudo docker info
Client:
Context: default
Debug Mode: false
Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
每次我运行码头时都会出现这个错
在Windows上,我一直能够毫无问题地构建Docker映像。
我现在正在Ubuntu18.04上构建一个简单的Docker映像并在终端输入:
sudo docker build -t test .
结果出现以下错误:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
Is the docker daemon running?
如何启动Docker守护进程?我希望能够成功地建立这个形象。
编辑:
输入sudo systemctl start docker (如原始文档中所述)将导致以下错误:
Failed
我有一个需要Docker的应用程序,应用程序在启动时会检查Docker守护进程。我不能这样做,因为它是第三方应用程序。
因此,当我尝试在Kubernetes上部署此应用程序时出现错误。
Failed to run 'docker -H unix:///var/run/docker.sock ps -a': exited with status 1; stderr='Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
我不确定Ku
尝试在Windows 10上启动Docker Desktop时出现以下错误。
Unable to stop - The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Service 'Hyper-V Host Compute Service (vmcompute)' cannot be started due to the following error: Cannot star
在gitlab-ci中,我尝试在Docker容器中运行docker-compose。为此,我使用Docker-in-Docker。要测试一切是否正常,我只需执行一个docker info命令。但是,当我使用docker-compose图像作为我的图像时,我在执行docker info时得到以下错误 ERROR: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running? 如果我使用docker本身作为镜像,则docker info命令成功。我对此感到困惑,因为docker-co
这是我与码头的第一天,所以,我可能错过了在安装过程中的一些东西。
我正在运行OSX 10.11.3 (15D21),并通过自制安装dlite (v.1.1.4):
$brew install docker dlite
$sudo dlite install
$dlite start
但是,当我试图引导postgis映像时,出现了一个错误:
$docker run mdillon/postgis:9.5
docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
我曾希望用DLi
我正在编写一个脚本,它将自动引导坞-撰写。
但是,有时候,执行eval "$(docker-machine env default)"并不会立即连接停靠守护进程,当下一行(docker-compose up)出现时,我得到了Cannot connect to the Docker daemon. Is the docker daemon running on this host?
如果我使用sleep几秒钟,问题就解决了。
是否有一种方法可以通过某些系统工具(检查进程是否存在、网络连接是否已建立、端口是否被监听等)来测试到守护进程?我想在外部测试docker守护进程,而不是使用
我正在使用Windows 10 Home,连接到docker时出现以下错误: ERRO[0044] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 192.168.99.101:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of t
每当我尝试使用RSelenium包时,都会出现上述错误
shell('docker run -d -p 4445:4444 selenium/standalone-chrome')
docker: error during connect: Post
http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.30/containers/create: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configur
我遇到了以下问题:尝试从私有集线器拉取已构建的docker镜像并将其作为服务运行,但出现以下错误
Failed to launch container: Failed to run 'docker -H unix:///var/run/docker.sock pull r.cfcr.io/path/to/repo/': exited with status 1; stderr='Error: Cannot perform an interactive login from a non TTY device '
下面是我用来进行身份验证的fetch[] confi
我刚开始使用Jenkins和docker插件。我在我的Mac Os上安装了jenkins。我试图在jenkins上构建一个项目,使用docker并发布插件作为构建步骤。
如果出现以下错误,它将失败
java.io.IOException: Cannot run program "docker" (in directory "***"): error=2, No such file or directory
看起来,docker对jenkins用户是不可用的,但对于root用户和我的Mac上的其他用户却是可用的。
sudo su jenkins
bash-3.2$
我让docker在一个选项卡中唤醒,但开始将它用于其他事情。我打开一个新选项卡,尝试运行docker build,但得到以下错误:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
运行docker-machine env default时出现以下错误:
Error checking TLS connection: Host is not running
然后我运行docker-machine start default得到这个(它永远挂起):
Starting "defaul
就像罐头上写的那样。我尝试执行minikube mount /some/dir:/home/docker/other_dir &,但是它失败了,出现了以下错误:
Mounting /some/dir into /home/docker/other_dir on the minikube VM
This daemon process needs to stay alive for the mount to still be accessible...
ufs starting
ssh command error:
command :
sudo mkdir -p /home/docker
问题:我试图在流浪者内部运行码头,我的vagrant文件包含以下内容:-
config.vm.provision "docker" do |d|
d.run "ubuntu",
cmd: "bash -l",
args: "-v '/vagrant:/var/www'"
end
安装了docker,但是当我运行任何命令时,它会出现以下错误:-
Cannot connect to the Docker daemon at unix:///var/run/docker.so
在以前运行的项目上运行docker-compose up -d (数周)时,生成web容器时会出现以下错误:
» |root| ‡ master * docker-compose up -d
Starting gateway_web_1
ERROR: for web Cannot start service web: updating the store state of sandbox failed: failed to update store for object type *libnetwork.sbState: json: cannot unmarshal string int
使用Wagtail 1.13.1我们在使用Docker进行本地构建时突然出现错误,并且构建失败。
Cannot uninstall 'urllib3' It is a distutils installed project and
thus we cannot accurately determine which files belong to it which
would lead to only a partial uninstall.
urllib3是通过请求实现的Wagtail依赖吗?
还有没有人经历过这种情况?
谢谢
乔斯
我在linux服务器上运行一个Gitlab CI运行器已经有一段时间了,配置了docker。这已经工作了很长一段时间了,直到我被要求向池中添加一个停靠窗口执行器,以便在docker下编译windows项目。
现在,windows-docker执行器似乎也试图执行基于linux的作业,但出现了以下错误:
Running with gitlab-runner 14.0.1 (c1edb478)
on XXXXXXXXXXXXX_
Preparing the "docker-windows" executor 00:14
Using Docker executor with im
使用public/common docker的centos镜像,我安装了一些需要/etc/init目录的服务,但出现了故障。我进一步注意到initctl并不存在,这意味着init没有运行。
如何将centos镜像与全功能的init进程一起使用?
示例:
docker run -t -i centos /bin/bash
file /etc/init
/etc/init: cannot open ... no such file or directory ( /etc/init )
initctl
bash: initctl: command not found
这就是目前的情况:
hamsterofdeath@HodVm:~$ docker ps
Cannot connect to the Docker daemon at unix:///home/hamsterofdeath/.docker/desktop/docker.sock. Is the docker daemon running?
hamsterofdeath@HodVm:~$ sudo docker ps
[sudo] password for hamsterofdeath:
CONTAINER ID IMAGE COMMAND CREATED STATUS
我正在使用Docker version 1.12.2, build bb80604和VirtualBox 5.1.6。
我能够正确地安装Docker Toolbox,但是我无法启动默认的VM。
我试着遵循给的指令,但是我仍然得到了The system cannot find the file specified错误。我没有在系统上启用Hyper-V。
F:\>docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
default not found
我一直在尝试在Windows10专业版中安装Docker for windows,但当我输入docker info时,总是在cmd或powershell中出现错误,我得到的结果是这样的
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker
我按照以下顺序执行下列停靠程序命令:
docker pull docker
docker run -ti <imgId>
现在我在码头的“码头”形象里
现在假设我创建了一个临时文件夹并下载了一个Dockerfile
mkdir temp
cd temp
curl <dockerfile>
docker build .
它会告诉我Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
这意味着需要启动docker服务,但是由
$sudo服务码头启动
* Starting Docker: docker
$sudo服务码头状态
* Docker is not running
$sudo码头拉bkimminich/果汁店
Using default tag: latest
Warning: failed to get default registry endpoint from daemon (Cannot connect
to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon
running?). Us
我制作了一个docker镜像,以便在没有sudo访问但我的用户属于docker组的服务器上运行一些进程。
当我从shell运行这个进程时,一切都运行得很好。但是,当我尝试使用cron运行它时,它失败了,出现以下错误:
docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See '/usr/bin/docker-current run --help'.
下面是我正在运行的代码(它实际上比这个复杂一些,但当我简化它时,它仍然失败了)。
docker run
我在码头上运行气流,调度器容器在一段时间后停止运行,出现以下错误
Error response from daemon: Cannot restart container airflow-scheduler_1: mkdir /var/snap/docker/common/var-lib-docker/overlay2/3355a6abc0c5f0bde0eba9026fd04a9d627562d6c6f069c4a564c5fe7738721f/merged: no space left on device
我用过
docker system prune --volumes
但是,在容器再次
集成Docker与Maven Docker Maven插件。我在让码头工人在window 10主机上通过Maven时遇到了问题。使用以下跟踪生成失败。
DOCKER> Cannot create docker access object [Cannot extract API version from
server https://192.168.99.100:2376 :
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.Sun