root@hi3798mv100:~# apt update && apt install docker.io Get:1 http://repo.huaweicloud.com/ubuntu-ports focal InRelease [265 kB] Get:2 http://repo.huaweicloud.com/ubuntu-ports focal-updates InRelease [114 kB] Get:3 http://repo.huaweicloud.com/ubuntu-ports focal-backports InRelease [108 kB] Get:4 http://repo.huaweicloud.com/ubuntu-ports focal-security InRelease [114 kB] Get:5 http://repo.huaweicloud.com/ubuntu-ports focal/main armhf Packages [934 kB] Get:6 http://repo.huaweicloud.com/ubuntu-ports focal/main Translation-en [506 kB] Get:7 http://repo.huaweicloud.com/ubuntu-ports focal/restricted armhf Packages [7,044 B] Get:8 http://repo.huaweicloud.com/ubuntu-ports focal/restricted Translation-en [6,212 B] Get:9 http://repo.huaweicloud.com/ubuntu-ports focal/universe armhf Packages [8,321 kB] Get:10 http://repo.huaweicloud.com/ubuntu-ports focal/universe Translation-en [5,124 kB] Get:11 http://repo.huaweicloud.com/ubuntu-ports focal/multiverse armhf Packages [116 kB] Get:12 http://repo.huaweicloud.com/ubuntu-ports focal/multiverse Translation-en [104 kB] Reading package lists... Done E: Release file for http://repo.huaweicloud.com/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 112d 10h 46min 11s). Updates for this repository will not be applied. E: Release file for http://repo.huaweicloud.com/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 112d 10h 47min 40s). Updates for this repository will not be applied. E: Release file for http://repo.huaweicloud.com/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 112d 10h 44min 58s). Updates for this repository will not be applied.
应该如何解决
baklk 用docker的deb安装包安装试试,或者看看docker官方的安装教程https://docs.docker.com/desktop/install/ubuntu/