Running the docker image error: WARNING: The requested image's platform (linux/amd64) solution

When running the docker image, an error is reported:
(1)

WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/386) and no specific platform was requested

reason:

The system architecture type of the dockers image is different from the system architecture type of the host (virtual machine)

Solution:

Docker can --platform = <系统架构>obtain the image of the specified system architecture through the command

You can view the system architecture of the host (virtual machine) through uname -mthe command, or according to the above error message

Because the error message here is linux/386, so just add in the command to pull the image--platform linux/386

Guess you like

Origin blog.csdn.net/weixin_57048716/article/details/129285065