我目前正在尝试使用Docker在Azure应用程序服务上启动ElasticSearch。我通过azure应用程序服务中的ssh安装docker。Docker似乎在控制台中安装得很好,但是当我运行
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.6.2
我在ssh控制台中得到以下错误:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
我已经安装和卸载了几次Docker,但仍然收到相同的错误
发布于 2021-06-16 22:23:32
由于Azure应用程序服务的限制,它不允许您运行Elastic Search
您可以在Azure上使用Elastic as a Service或将其安装在AKS或VM中。
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/elastic.ec-azure?tab=Overview
您正在尝试将Docker安装到Docker容器中
App Service for Linux附带了一堆预先配置好的容器,比如Node、PHP、Java、Python、Ruby和.NET核心。
https://anthonychu.ca/post/jekyll-azure-app-service-linux/
您提到的确切问题意味着Docker守护进程未在Linux环境中启动
要启动Docker守护程序,请使用命令:
systemctl start docker
https://stackoverflow.com/questions/68003067
复制相似问题