尝试将基础镜像迁移到稳定的Ubuntu 18.04,当我们尝试添加gpg密钥时,出现以下错误:
root@77ff14f29cab:/# apt-key add apt-key.gpg
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory