Step to reproduce
- download macOS docker from https://download.docker.com/mac/static/stable/x86_64/docker-20.10.16.tgz
- extract file
- execute
~/Downloads/docker/docker run --rm -it ubuntu bash
- In the containter,
root@926b2fa67ba4:/# apt-get update
the error is following
Err:1 http://security.ubuntu.com/ubuntu noble-security InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:2 http://archive.ubuntu.com/ubuntu noble InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Some post ( 22.04 - Cannot run apt update on ubuntu 22 docker image on a CentOS host - Ask Ubuntu ) recommend that I should use Docker >= 20.10.9, but why I still got the error.