我正在尝试构建 Raspberry Pi docker 映像,但我总是遇到相同的错误,类似于this one、this one和this one。
apt update在 a arm32v7/ubuntu:20.04(或仅ubuntu:latest)中以 root 身份运行命令时,我得到以下输出:
root@273d63597ce6:/# apt update
Get:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease [265 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [111 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [98.3 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [107 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
At least one invalid signature was encountered.
Err:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
At least one invalid signature was encountered.
Err:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
At least one …Run Code Online (Sandbox Code Playgroud) 我家里有多台机器,我想从学校使用 SSH 和 VNC 访问它们。为了做到这一点,我给了他们静态 IP:
我知道 SSH 使用端口 22,因此我可以将此端口转发到路由器上的 192.168.1.51:22,但这样我将无法通过 SSH 连接到我的 Raspberry Pi。有什么办法可以将其设置为能够访问两台机器?