Score:0

Ubuntu 22.04.2 cannot install docker

cn flag
$ sudo apt update
[sudo] password for david:
Ign:1 https://download.docker.com/linux/ubuntu jammy InRelease
Err:1 https://download.docker.com/linux/ubuntu jammy InRelease
  Invalid response from proxy: HTTP/1.1 400 Bad Request  Server: nginx  Date: Tue, 13 Jun 2023 21:28:46 GMT  Content-Type: text/html; charset=utf-8  Content-Length: 166  Connection: close     [IP: 60.191.80.11 443]


$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy
Artur Meinild avatar
vn flag
Are you behind a proxy server? I just ran the exact same command with Docker repo enabled with no errors whatsoever.
TangMonk avatar
cn flag
@ArturMeinild Yes, I am using https://mirrors.163.com/
Artur Meinild avatar
vn flag
The IP address 60.191.80.11 is owned by mirrors.163.com. So the problem lies here.
TangMonk avatar
cn flag
@ArturMeinild thanks, it fixed
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.