警告描述
W: https://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details
解决办法:
cd /etc/apt
sudo cp trusted.gpg trusted.gpg.d/
再次执行
sudo apt update
搞定
http://blog.xqlee.com/article/2406191116383061.html