惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
雷峰网
雷峰网
V
Visual Studio Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
IT之家
IT之家
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
月光博客
月光博客
A
About on SuperTechFans
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale

博客园 - _朝晖

Claude Code创始人谈AI时代角色融合:未来团队需要这五种人 docker proxy setting 高频交易策略算法简单示例 hot topics skill Polymarket 套利圣经:真正的差距在数学基础设施 一文读懂大模型交互模式:CoT、ReAct、ReWOO与Reflexion技术解析 Polymarket十大交易策略(附实例) 拆解Polymarket五大套利流派:普通玩家如何抓住百万美金机会? HFT策略算法简单示例 多智能体并行协作开发模式 Claude Code Agent Teams 完整上手攻略 Claude Code 启用 LSP 完全指南:2 分钟让 AI 编程速度提升 900 倍 Claude Code 免费从入门到精通 Claude Sonnet 4.6空降!Office性能干翻旗舰模型,软件股哀嚎一片 Claude Code从小白到大神的10000字终极指南 如何使用claude的plan模式? 2025年网络安全十大发展趋势发布 HLOB:限价订单簿中的信息持久性和结构 端口扫描工具横向对比测评 Rust生命周期,看这一篇就够了~ rust的枚举多态 Rust中的三种多态性——Enum和Trait(上) Rust OO:多态与继承 AFL漏洞挖掘技术漫谈(一):用AFL开始你的第一次Fuzzing
kali linux上安装docker
_朝晖 · 2026-05-15 · via 博客园 - _朝晖

你在 Kali Linux 上使用了 Docker 的 Ubuntu 仓库,而该仓库没有 kali-rolling 的发行版文件。

  解决方案:使用 Kali 官方 Docker 安装方式

  # 1. 卸载旧的错误配置
  sudo rm /etc/apt/sources.list.d/docker.list

  # 2. 安装依赖
  sudo apt update
  sudo apt install -y apt-transport-https ca-certificates curl gnupg

  # 3. 添加 Docker GPG 密钥
  curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

  # 4. 添加正确的仓库(Kali 基于 Debian,使用 debian 仓库)
  echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg]
  # 4. 添加正确的仓库(Kali 基于 Debian,使用 debian 仓库)
  echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | sudo tee
  /etc/apt/sources.list.d/docker.list

  # 5. 更新并安装
  sudo apt update
  sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

  # 6. 启动并设置开机自启
  sudo systemctl enable --now docker

  # 7. 验证
  sudo docker run hello-world

  可选:将当前用户加入 docker 组(避免每次都用 sudo)

  sudo usermod -aG docker $USER
  newgrp docker

  原因说明: Kali Linux 基于 Debian,不能直接使用 Docker 的 Ubuntu 仓库。需要使用 Debian 的仓库(bookworm 对应当前 Kali 所基于的 Debian 版本)。