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 -m
the 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