求助,安装 Docker 失败 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
CallmeDredd
V2EX    Docker

求助,安装 Docker 失败

  •  
  •   CallmeDredd 2021-08-01 10:17:25 +08:00 2788 次点击
    这是一个创建于 1600 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Google 搜了好大一会儿了试了好几个添加 pubkey 的方法,但是都没成功


    > Installing Docker ........................... Docker installation failed, please visit https://docs.docker.com/install for instructions.

    Last error: # Executing docker install script, commit: 28bc4d09b3938ea30c69407d198ee8ece52c3e12
    + sh -c apt-get update -qq >/dev/null
    + sh -c DEBIAN_FROnTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl gnupg >/dev/null
    + sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
    + sh -c echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian buster stable" > /etc/apt/sources.list.d/d
    ocker.list
    + sh -c apt-get update -qq >/dev/null
    W: GPG error: https://download.docker.com/linux/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
    E: The repository 'https://download.docker.com/linux/debian buster InRelease' is not signed.
    6 条回复    2021-08-01 12:24:38 +08:00
    jackleel
        1
    jackleel  
       2021-08-01 10:57:17 +08:00
    apt-get update 一下,然后试试安装制定版本的 docker
    AoEiuV020
        2
    AoEiuV020  
       2021-08-01 10:58:58 +08:00 via Android
    系统是 debian ?没试过,但是这种东西只看官网就好,按理说官网几条命令直接复制粘贴就可以,
    https://docs.docker.com/engine/install/debian/
    CallmeDredd
        3
    CallmeDredd  
    OP
       2021-08-01 11:33:03 +08:00
    @jackleel 感谢回复
    我试了 update,参考了这篇博客 http://www.recall704.com/ops/install-docker-on-debian/尝试安装制定版本的 docker

    apt install docker-engine=1.12.6-0~debian-jessie,之后提示是这样的
    root@ip-172-2*-**-133:~# apt install docker-engine=1.12.6-0~debian-jessie
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Version '1.12.6-0~debian-jessie' for 'docker-engine' was not found
    CallmeDredd
        4
    CallmeDredd  
    OP
       2021-08-01 11:34:47 +08:00
    @AoEiuV020 感谢回复
    是的,系统是 debian10.8,按照官网的命令和各种“一键安装 docker”都试过了,每次都会提示 no punkey
    lysS
        5
    lysS  
       2021-08-01 12:09:21 +08:00
    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh

    这是官方的脚本,出错的话估计你之前折腾把系统环境搞坏了,如果方便可以重置下系统
    CallmeDredd
        6
    CallmeDredd  
    OP
       2021-08-01 12:24:38 +08:00
    @lysS 感谢大佬!!!重置系统果然有效!!!
    祝大佬早日暴富!!!
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5190 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 43ms UTC 08:40 PVG 16:40 LAX 00:40 JFK 03:40
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86