Error content
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Solution:
Modify the dockerfile file and add the following red box content
Finally, the docker image is successfully built
It is estimated that there is a problem with some Yum sources of centos8
Read More:
- [Solved] Error: Failed to download metadata for repo ‘docker-ce-stable‘: Cannot download repomd.xml:
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- mainfest Image Error: (img/icons/andriod-chrome-192×192.png)Download error or resource isn’t a vaild image
- [Solved] jink Download Error: Failed to download RAMCode. Failed to prepare for programming.
- [Solved] stm32 Failed to Download: Error: Flash Download failed – “Cortex-M3”
- [Solved] FlutterIOS CDN trunk Repo update failed – 34 error(s)
- [Solved] CentOS 6 yum update Error: Cannot find a valid baseurl for repo: base
- [Solved] pod CDN: trunk Repo update failed – 56 error(s):
- ST-LINK Download Program Error: flash download failed – ‘cortex m4‘
- [Solved] STM32 Use DAP to Download Error: Error: Flash Download failed – “Cortex-M3“
- Repo init Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- How to Solve Docker ERROR: Service’workspace’ failed to build: ERROR: Service’php-fpm’ failed to build
- Jenkins uses NPM to build Vue error, and the manual build is normal
- How to Solve Maven Error: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap
- [Solved] Docker Delete Image Error: Error: No such image
- torchvision.dataset Failed to Download CIFAR10 Error [How to Solve]
- Docker Build Error: Failed to get D-Bus connection: Operation not permitted [Solved]
- Failed to find Build Tools revision 30.0.3 [How to Solve]
- [Solved] CentOS build a docker error: job for docker.service failed….
- How to Solve Import antd Error: Module build failed