WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
I am facing this error on mac while trying to run this command docker run --rm --gpus all -v static_volume:/home/app/staticfiles/ -v media_volume:/app/uploaded_videos/ --name=deepfakeapplication abhijitjadhav1998/deefake-detection-20framemodel
How to solve this error?
5
Answers
Try changing the command as
Please ensure that you have compatible Nvidia Drivers available as this application uses Nvidia CUDA.
Put this line
--platform linux/amd64
after docker run. It works for me, using Macbook M1.Description :
Be sure to change bigStrongPwd to a strong password of your choice. You can also change the value of the –name parameter if you wish.
By default, the container is run with the Developer Edition. You can run the Premium Edition by adding -e ‘MSSQL_PID=Premium’.
Src: Database.guide
I think this is correct:
since the warning I was getting went away.
Note, this gives a warning:
When you build the docker image, add the
--platform linux/amd64
flag and it will create an amd64 image instead of an arm64 image.