有同样的问题,首先我尝试了以下https://askubuntu.com/a/510887

  • sudo mv /var/lib/dpkg/info/docker.* / tmp /
  • sudo dpkg --remove --force-remove-reinstreq docker.io
  • sudo apt-get remove docker.io
  • sudo apt-get autoremove && sudo apt-get autoclean

然后尝试安装docker-ce:

  • 关闭并重新打开bash(WSL)
  • sudo apt-get install docker-ce

一切都恢复正常。
我希望这也能解决你的问题

相关文章:

  • 2021-12-05
  • 2021-10-05
  • 2021-04-08
  • 2021-09-05
  • 2021-06-05
  • 2021-09-29
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2021-12-07
  • 2021-04-17
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2021-09-18
  • 2021-06-28
相关资源
相似解决方案