Docker构建镜像失败
ubuntu:18.04: failed to resolve source metadata for docker.io/library/ubuntu:18.04: unexpected status from HEAD request to http://hub-mirror.c.163.com/v2/library/ubuntu/manifests/18.04?ns=docker.io: 403 connecting to hub-mirror.c.163.com:80: connecting to hub-mirror.c.163.com:80: dial tcp: lookup hub-mirror.c.163.com: no such host
root@ThinkPad-FLY:/mnt/e/02-docker/ubunutu-vm# docker build -t ubuntu18.04:250528 .
[+] Building 64.6s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.76kB 0.0s
=> WARN: MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label (line 2) 0.0s
=> ERROR [internal] load metadata for docker.io/library/ubuntu:18.04 64.5s
------
> [internal] load metadata for docker.io/library/ubuntu:18.04:
------
1 warning found (use docker --debug to expand):
- MaintainerDeprecated: Maintainer instruction is deprecated in favor of using label (line 2)
Dockerfile:1
--------------------
1 | >>> FROM ubuntu:18.04
2 | MAINTAINER FLY<xxxxxxxx@icode.com>
3 | ENV TERM=xterm
--------------------
ERROR: failed to solve: ubuntu:18.04: failed to resolve source metadata for docker.io/library/ubuntu:18.04: unexpected status from HEAD request to http://hub-mirror.c.163.com/v2/library/ubuntu/manifests/18.04?ns=docker.io: 403 connecting to hub-mirror.c.163.com:80: connecting to hub-mirror.c.163.com:80: dial tcp: lookup hub-mirror.c.163.com: no such host

FROM ubuntu:18.04
MAINTAINER FLY<xxxxxxxx@icode.com>
ENV TERM=xterm
ENV SHELL=/bin/bash
ARG USER_ID=1000
ARG GROUP_ID=1000
ARG USER_NAME=fly
ARG GROUP_NAME=fly
ARG PASSWORD=fly
ENV GCC_GLIBC=toolchain/mipsel-24kec-linux-glibc-4.9-2017.08.tar.bz2 \
GCC_UCLIBC=toolchain/mipsel-24kec-linux-uclibc-4.9-2017.07.tar.bz2 \
MIPS_ELF=toolchain/mipsel-sde-elf-4.4.3.tar.bz2
ENV GCC_ARM_MSTAR=toolchain/gcc-sigmastar-9.1.0-2020.07-x86_64_arm-linux-gnueabihf.tar.xz \
PATH=/usr/local/gcc-sigmastar-9.1.0-2020.07-x86_64_arm-linux-gnueabihf/bin:$PATH
ENV LANG=en_US.UTF-8
RUN apt-get update -q && apt-get install -y -q \
bash-completion \
bc \
bison \
build-essential \
cpio \
curl \
dos2unix \
enca \
flex \
gawk \
gcc-multilib \
gettext \
git-core \
g++-multilib \
gnupg \
gperf \
libapr1 \
libc6-dev-i386 \
libneon27-gnutls \
libx11-dev \
lib32ncurses5 \
lib32ncurses5-dev \
lib32z1 \
nano \
python \
rename \
rsync \
subversion \
sudo \
texinfo \
tofrodos \
wget \
x11proto-core-dev \
zip \
zlib1g-dev \
make \
libc6 \
lib32stdc++6 \
zlib1g-dev \
clang-format \
ncurses-term \
libncursesw5-dev \
g++ \
u-boot-tools \
texinfo \
texlive \
gawk \
upx \
pngquant \
libgl1-mesa-dev \
mtd-utils \
vim \
squashfs-tools \
cmake \
liblz4-tool \
device-tree-compiler \
mingw-w64 \
language-pack-zh-hans \
bash-completion \
&& rm -rf /var/lib/apt/lists/* \
&& sudo rm /bin/sh && sudo ln -s /bin/bash /bin/sh \
&& sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& locale-gen en_US.UTF-8 \
&& sudo git config --global user.name "fly" \
&& sudo git config --global user.email "fly@docker.com" \
&& git config --global alias.st status \
&& git config --global alias.co checkout \
&& git config --global alias.ci commit \
&& git config --global alias.br branch \
&& git config --global alias.last 'log -1' \
&& git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" \
&& groupadd -g ${GROUP_ID} ${GROUP_NAME} \
&& useradd -l -m -p $(perl -e 'print crypt($ARGV[0], "password")' $PASSWORD) -u ${USER_ID} -g ${GROUP_NAME} ${USER_NAME} \
&& usermod -aG sudo ${USER_NAME}
ADD $GCC_GLIBC /opt/ivot/
ADD $GCC_UCLIBC /opt/ivot/
ADD $MIPS_ELF /opt/im/
ADD $GCC_ARM_MSTAR /usr/local
USER ${USER_NAME}
WORKDIR /home/${USER_NAME}/
provisioning docker WSL distros: ensuring data distro is deployed: deploying "docker-desktop-data": importing WSL distro "导入的文件不是有效的 Linux 分发。\r\n错误代码: Wsl/Service/RegisterDistro/WSL_E_NOT_A_LINUX_DISTRO\r\n" output="docker-desktop-data": exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --import docker-desktop-data <HOME>\AppData\Local\Docker\wsl\data C:\Program Files\Docker\Docker\resources\wsl\wsl-data.tar --version 2: 导入的文件不是有效的 Linux 分发。
错误代码: Wsl/Service/RegisterDistro/WSL_E_NOT_A_LINUX_DISTRO
: exit status 0xffffffff
checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.
