E.g. you have build the plattform on MacOS with M1 chip and need to rebuild it with the correct architecture.
# Add the --plattform
docker buildx build --platform=linux/amd64 -t image-name:version .
E.g. you have build the plattform on MacOS with M1 chip and need to rebuild it with the correct architecture.
# Add the --plattform
docker buildx build --platform=linux/amd64 -t image-name:version .