当前位置: 首页 > article >正文

【容器化】低版本docker拉取ubuntn 22.04镜像启动容器执行apt update提示 NO_PUBKEY 871920D1991BC93C

前置信息
宿主机信息
[root@localhost ~]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

[root@localhost ~]#
docker 信息
[root@localhost ~]# docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.13.1
Storage Driver: overlay2
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc docker-runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version:  (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 8891bca22c049cd2dcf13ba2438c0bac8d7f3343 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: fec3683b971d9c3ef73f284f176672c44b448662 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
Kernel Version: 3.10.0-1160.105.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 2
Total Memory: 1.274 GiB
Name: localhost.localdomain
ID: X7RT:J5M4:DPEV:56FX:2ZDW:D2VU:HCUJ:YAR7:O5CP:UQ35:KQ2K:FXL4
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Registry Mirrors:
 https://hub.uuuadc.top
 https://docker.anyhub.us.kg
 https://dockerhub.jobcher.com
 https://docker.ckyl.me
 https://docker.awsl9527.cn
 https://ustc-edu-cn.mirror.aliyuncs.com/
 https://ccr.ccs.tencentyun.com/
 https://2a6bf1988cb6428c877f723ec7530dbc.mirror.swr.myhuaweicloud.com
 https://hub-mirror.c.163.com
 https://your_preferred_mirror
 https://dockerhub.icu
 https://docker.registry.cyou
 https://docker-cf.registry.cyou
 https://dockercf.jsdelivr.fyi
 https://docker.jsdelivr.fyi
 https://dockertest.jsdelivr.fyi
 https://mirror.aliyuncs.com
 https://dockerproxy.com
 https://mirror.baidubce.com
 https://docker.m.daocloud.io
 https://docker.nju.edu.cn
 https://docker.mirrors.sjtug.sjtu.edu.cn
 https://docker.mirrors.ustc.edu.cn
 https://mirror.iscas.ac.cn
 https://docker.rainbond.cc
Live Restore Enabled: false
Registries: docker.io (secure)
[root@localhost ~]#

ubuntu 镜像信息
[root@localhost ~]# docker history docker.io/ubuntu
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
df5de72bdb3b        2 years ago         /bin/sh -c #(nop)  CMD ["bash"]                 0 B
<missing>           2 years ago         /bin/sh -c #(nop) ADD file:396eeb65c8d7371...   77.8 MB
[root@localhost ~]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED         

http://www.kler.cn/a/569083.html

相关文章:

  • 国产AI新秀:DeepSeek的前生今世
  • 如何调试Linux内核?
  • VS Code Python调试执行代码时出现“ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接”的问题解决
  • Llama 2中的Margin Loss:为何更高的Margin导致更大的Loss和梯度?
  • 三七互娱,蓝禾,顺丰,oppo,游卡,汤臣倍健,康冠科技,作业帮,高途教育25届春招内推
  • 深入浅出理解编译器:前端视角
  • Kotlin 扩展函数
  • 【无人机】无人机飞行日志下载及分析,飞行日志分析软件的使用
  • 蓝桥杯(握手问题)
  • Express + MongoDB 实现用户登录
  • 蓝桥杯好题推荐-----高精度减法
  • PyQt5入门教程和简单使用
  • 阿里云 Qwen2.5-Max:超大规模 MoE 模型架构和性能评估
  • [AIGC]Agent的ReAct原理基于LangChain框架的Agent构建详解
  • Windows系统安装GPU驱动/CUDA/cuDNN/PyTorch
  • PHP环境安装达梦数据库驱动实操
  • 迷你世界脚本玩家接口:Player
  • Excel 豆知识 - XLOOKUP 为啥会出 #N/A 错误
  • 【音视频】RGG、YUV基础
  • Docker 部署 Graylog 日志管理系统