国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Portainer連不上docker Unable to retrieve images或Unable to connect to the Docker environment

這篇具有很好參考價(jià)值的文章主要介紹了Portainer連不上docker Unable to retrieve images或Unable to connect to the Docker environment。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

系統(tǒng):Centos

docker:23.0.6

portainer:2.19.2

服務(wù)器A and 服務(wù)器B

A,B都有Docker

現(xiàn)象

1、在A上安裝了Portainer后,local evironment 可以顯示images數(shù)量等信息,但無法顯示詳情,出現(xiàn)Unable to connect to the Docker environment

2、嘗試

????????編輯docker.service

vim /usr/lib/systemd/system/docker.service

????????找到 ExecStart字段修改如下

ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock

? ? ? ? 重啟docker

systemctl daemon-reload

systemctl restart docker

此方法對(duì)我無效,還是一樣無法查看詳情

3、也嘗試了重新部署portianer,仍然報(bào)錯(cuò)

解決

把local和遠(yuǎn)程的docker都當(dāng)作遠(yuǎn)程來連

在部署docker的服務(wù)器上啟動(dòng)容器

docker run -d \
? -p 9001:9001 \
? --name portainer_agent \
? --restart=always \
? -v /var/run/docker.sock:/var/run/docker.sock \
? -v /var/lib/docker/volumes:/var/lib/docker/volumes \
? portainer/agent:2.19.2


然后在portainer上配置docker-agent,ip:9001

成功連接!文章來源地址http://www.zghlxwxcb.cn/news/detail-849609.html

到了這里,關(guān)于Portainer連不上docker Unable to retrieve images或Unable to connect to the Docker environment的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 【錯(cuò)誤解決】docker找不到runc:failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime

    docker run 容器 OCI runtime create failed 報(bào)錯(cuò) docker pull nginx:latest #啟動(dòng)一個(gè)容器 docker run --name docker_nginx -p 80:80 -d nginx docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.tas

    2024年03月15日
    瀏覽(43)
  • mysql Dbeaver連不上(連接數(shù)據(jù)庫超時(shí)connect time out),但是navicat能連上

    mysql Dbeaver連不上(連接數(shù)據(jù)庫超時(shí)connect time out),但是navicat能連上

    mysql Dbeaver連不上,但是navicat能連上 現(xiàn)象:連接超時(shí) 方案1: 在dbeaver安裝目錄找到dbeaver.ini添加一行 若方案1改完連接報(bào)這個(gè)錯(cuò)時(shí) 修改連接方式為URL 并帶上useUnicode=true參數(shù)

    2024年02月04日
    瀏覽(30)
  • docker報(bào)Unable to find image ‘image-name:tag‘ locallydocker: Error response from daemon: pull acces

    昨天在使用Docker時(shí),遇到拉取鏡像失敗的問題。其中一個(gè)錯(cuò)誤信息是\\\"Unable to find image ‘image-name:tag’ locally docker: Error response from daemon: pull access denied for image-name, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied\\\"。今天我將分享如何解決此問

    2024年02月10日
    瀏覽(91)
  • docker指定配置文件啟動(dòng)本地redis鏡像 Unable to find image ‘redis-server:latest‘ locally

    目錄 問題復(fù)現(xiàn)? 1.啟動(dòng)命令: 2.報(bào)錯(cuò)信息: ?解決 1.排除網(wǎng)絡(luò)問題 2.查看docker官方文檔指定conf的示例 3.調(diào)整命令順序 運(yùn)行成功! 總結(jié):docker官網(wǎng)沒有明確寫出原因,但不難推斷只有先獲取到鏡像才能根據(jù)指定的配置文件啟動(dòng),redis是如此,其他需要指定配置文件的容器也是

    2024年02月02日
    瀏覽(33)
  • docker run hello-world報(bào)錯(cuò):Unable to find image ‘hello-world:latest‘ locally

    報(bào)錯(cuò)提示: Unable to find image \\\'hello-world:latest\\\' locally docker: Error response from daemon: Head \\\"https://registry-1.docker.io/v2/library/hello-world/manifests/latest\\\": dial tcp: lookup registry-1.docker.io on 192.168.230.2:53: no such host. See \\\'docker run --help\\\'. 解決方法: 首先檢查DNS,如果DNS沒有配置,需要添加DNS地址。編

    2024年02月12日
    瀏覽(92)
  • 《Kubernetes故障篇:unable to retrieve OCI runtime error》

    《Kubernetes故障篇:unable to retrieve OCI runtime error》

    1、環(huán)境信息如下: 操作系統(tǒng) K8S版本 containerd版本 Centos7.6 v1.24.12 v1.6.12 2、報(bào)錯(cuò)信息如下: Warning FailedCreatePodSandBox 106s (x39 over 10m) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed

    2024年02月14日
    瀏覽(25)
  • Unable to retrieve version information from Elasticsearch nodes.

    [error][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 127.0.0.1:9200 今天在自己本地測試啟動(dòng)ElasticSearch和Kibana時(shí),ElasticSearch已經(jīng)啟動(dòng)的情況下,去啟動(dòng)Kibana時(shí),報(bào):Unable to retrieve version information from Elasticsearch nodes. ?因?yàn)槎际窃诒镜?,可能是?/p>

    2024年02月11日
    瀏覽(19)
  • docker安裝鏡像報(bào)錯(cuò):unable to connect to 104.18.123.25:443. Do you need an HTTP proxy
  • 虛擬機(jī)使用docker安裝MySql出現(xiàn)的問題,Navicat連不上MySql

    虛擬機(jī)使用docker安裝MySql出現(xiàn)的問題,Navicat連不上MySql

    文章目錄 一、問題引入 二、問題分析? 三、問題解決? ?四、總結(jié) 今天是學(xué)習(xí)谷粒商城的第一天,既然是第一天,肯定就是先對(duì)項(xiàng)目先有個(gè)基本的了解,比如是項(xiàng)目所用到的技術(shù)棧,項(xiàng)目整體的架構(gòu)等,還對(duì)分布式的相關(guān)概念簡單說了一下。 接下來來就是搭建環(huán)境了,與以

    2024年02月07日
    瀏覽(32)
  • ajax method to retrieve images as a blob

    ajax method to retrieve images as a blob

    go 服務(wù)端: 就是先把這個(gè)圖片讀出來 ?然后返回二進(jìn)制的數(shù)據(jù) js 前端獲取圖片: 參考文章: Sending image files from back-end to front-end - JavaScript - The freeCodeCamp Forum

    2024年02月07日
    瀏覽(18)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包