站点图标 嘟嘟社区

大佬们请教下docker


大佬们  debian 10 内核3.10.24 安装docker 始终报错

麻烦指下路呢
安装出错
Processing triggers for mime-support (3.62) …
Errors were encountered while processing:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
重试了无数次  

报错信息  tail -f 200 /var/log/messages

  1. Sep 14 15:47:15 localhost kernel: [ 2978.378116] device-mapper: ioctl: error adding target to table
  2. Sep 14 15:47:16 localhost kernel: [ 2979.164668] device-mapper: ioctl: error adding target to table
  3. Sep 14 15:47:18 localhost kernel: [ 2981.190312] device-mapper: ioctl: error adding target to table
  4. Sep 14 15:47:19 localhost kernel: [ 2982.624359] device-mapper: ioctl: error adding target to table
  5. Sep 14 15:47:20 localhost kernel: [ 2983.354354] device-mapper: ioctl: error adding target to table
  6. Sep 14 15:47:21 localhost kernel: [ 2984.204705] device-mapper: ioctl: error adding target to table
  7. Sep 14 15:48:04 localhost kernel: [ 3027.625071] device-mapper: ioctl: error adding target to table
  8. Sep 14 15:48:05 localhost kernel: [ 3028.334738] device-mapper: ioctl: error adding target to table
  9. Sep 14 15:48:06 localhost kernel: [ 3029.047349] device-mapper: ioctl: error adding target to table

复制代码

本帖最后由 省港澳白嫖王 于 2022-9-14 23:56 编辑

https://docs.docker.com/engine/install/debian/
参考此文档在 debian 上安装 码头工人

说实话 devicemapper 这种 storage driver 用的很少了,很早就是 overlay2 的,你的 docker 是怎么装的,推荐用
  1. $ curl -fsSL https://get.docker.com -o get-docker.sh
  2. $ sh get-docker.sh

复制代码

一键安装和导入源apt安装,绝对没问题的
退出移动版