No matching manifest for windows/amd64

Hello Dears
I am trying to build Asp .NET images using the docker plugin in Jenkins and both are installed on Ubuntu server 20
when the step of building starts I got the error message

Could not build image: no matching manifest for windows/amd64 10.0.14393 in the manifest list entries

Does anyone have any Idea about that?

Thanks

The error message “no matching manifest for windows/amd64 10.0.14393 in the manifest list entries” suggests that there is a compatibility issue with the Docker image being built and the platform architecture or version specified in your Dockerfile or Docker configuration.

Here are a few steps you can take to troubleshoot and resolve this issue:

Check Dockerfile and Docker Configuration:

  • Review your Dockerfile and any Docker configuration files to ensure that they are specifying the correct platform architecture and version. The error message indicates that there may be a mismatch with the platform specified in the manifest list entries.

Verify Docker Engine and Plugin Compatibility:

  • Ensure that the version of Docker Engine installed on your Ubuntu server is compatible with the Docker plugin in Jenkins. Sometimes, using incompatible versions can lead to issues during the image building process.

Update Docker and Plugins:

  • If possible, update Docker and the Docker plugin in Jenkins to their latest versions. Newer versions often include bug fixes and improvements that could resolve compatibility issues.

Check Dockerfile Base Image:

  • If you are using a base image in your Dockerfile, ensure that it is compatible with the platform architecture and version specified. For example, if you are building for Windows, ensure that the base image is also for Windows and supports the specified version (10.0.14393 in this case).

Review Docker Build Command:

  • Double-check the Docker build command being used in Jenkins to ensure that it includes the necessary options and parameters for the platform architecture and version you are targeting.

Check System Architecture:

  • Verify the architecture of your Ubuntu server (e.g., amd64, arm64) to ensure it matches the platform architecture specified in your Dockerfile and Docker configuration.

Consult Docker Documentation and Community:

  • If the issue persists, consult the official Docker documentation and community forums for guidance. There may be specific recommendations or solutions for handling platform compatibility issues during image building.

By carefully reviewing your Docker setup, checking compatibility, updating components as needed, and consulting relevant resources, GM Socrates you should be able to troubleshoot and resolve the “no matching manifest” error during Docker image building in Jenkins.