在 Linux Mint 20.1 / Ubuntu 20.04 上安裝/卸載 Docker 後網絡連接斷開 (Broken network connection after Docker install/uninstall on Linux Mint 20.1 / Ubuntu 20.04)


問題描述

在 Linux Mint 20.1 / Ubuntu 20.04 上安裝/卸載 Docker 後網絡連接斷開 (Broken network connection after Docker install/uninstall on Linux Mint 20.1 / Ubuntu 20.04)

我最近安裝,然後卸載了 Docker,使用 sudo apt install docker.io,重新啟動,然後在 Linux Mint 20.1 上 sudo apt remove docker.io

從那以後(實際上是在安裝之後),我的網絡連接失敗了。然後我在 Linux Mint 上使用 Timeshift 將我的系統恢復到安裝 Docker 之前,但連接仍然不起作用:“網絡連接激活失敗” 從網絡彈出窗口。

我讀過一些關於其他人在安裝 Docker 後失去網絡連接的帖子,但我讀到的所有建議都是如何在安裝 Docker 的情況下修復它,但我已將其刪除現在,並想讓我的網絡連接正常工作。

我的 systemd‑resolve ‑‑status 輸出:


參考解法

方法 1:

Docker and networking are pretty unpredictable and as I do it for work on Linux mint, my experience is that docker and networking are flaky and could suddenly stop working seemingly without cause. But what you're seeing is a step too far. Because network issues, especially in Linux, are so hard with that info to debug I can't really offer any specific help, but I'll go ahead and rattle off the first giant handful of things I'd try or think about. At least that stuff would be the stuff I'd be googling about:

  • check the etc/hosts file, etc/hosts.allow, etc/hosts.deny, etc/resolv.conf.
  • Restart all the network services ex) service networking restart
  • service network‑manager restart
  • ifconfig
  • nslookup google.com
  • Could it be a router/modem/ISP issue?

(by user3340499GDub)

參考文件

  1. Broken network connection after Docker install/uninstall on Linux Mint 20.1 / Ubuntu 20.04 (CC BY‑SA 2.5/3.0/4.0)

#linux-mint #linux #docker #networking #ubuntu






相關問題

C/C++語言中的Conky (Conky in C/C++ language)

關閉終端不記得我對 nvm/npm 的 .profile 更改 (Closing the terminal doesnt remember my .profile changes for nvm/npm)

在 Linux Mint 中升級 Python 版本 (Upgrade Python version in Linux Mint)

試圖消除 python3 Gtk3 錯誤信息 (Trying to eliminate python3 Gtk3 error message)

在我的 Linux Mint 上安裝 NetBeans 後出現問題,它無法執行任何操作 (i have problem after installing NetBeans on my Linux Mint it can't do anything)

Linux Mint 19.1,白色背景上的白色文本 (Linux Mint 19.1, white text on white background)

PhpStorm 找不到 Linux Mint 系統變量 (PhpStorm doesn't find Linux Mint system variables)

在 Linux Mint 上安裝 Android Studio 的問題 (Problems with Installing Android Studio on Linux Mint)

如何解決 Linux 中的“npm ERR!code ELIFECYCLE”錯誤? (How to solve "npm ERR! code ELIFECYCLE" error in Linux?)

在 Linux Mint 20.1 / Ubuntu 20.04 上安裝/卸載 Docker 後網絡連接斷開 (Broken network connection after Docker install/uninstall on Linux Mint 20.1 / Ubuntu 20.04)

如何使用 Python 和 Selenium Webdriver 在 Chrome 中加載默認配置文件? (How to load default profile in Chrome using Python and the Selenium Webdriver?)

如何使用終端重命名 linux 中的目錄? (How can I rename a directory in linux with terminal?)







留言討論