Building linux/amd64 images in Mac OS

When you build the images using docker build command in the Mac OS the output image will be in the format of: linux/arm64. We can’t deploy these images to a linux/amd64 system. so there is a need build images according to our expected format.

Below command can be used to achieve that.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store