Docker default CPU architecture doesn't match host's

When I create a Docker image using the following Dockerfile, I get a Docker image that, upon Docker inspect, yields "Architecture": "amd64". The host is a macbook pro with an i7 processor running OS X (El Capitan) 10.11.2: xnu-3248.20.55~2/RELEASE_X86_64 x86_64. My Docker version is 17.03.1-ce-mac5 (16048)

I don’t understand why the Docker image architecture is different than the host. Is there a way for me to specify the architecture in the Dockerfile?

  • Django channels and docker-compose error
  • Docker is stuck on “download complete” for pull
  • Deploy a Docker image without using a repository
  • Cannot reduce ulimits inside docker container
  • Aldryn cloud on windows 10, using hyper-v, and docker 1.12 rc2 beta16
  • Docker mysql image: periodic access denied for root
  • Leader election in Mesos cluster seems not working
  • Docker DNS getaddrinfo ENOTFOUND
  • How run Docker's container with IIS in Ubuntu 16.04 LTS [closed]
  • How do I wait for a pull?
  • Docker-compose does not install or run properly on boot2docker
  • docker-compose with nginx is not working
  • One Solution collect form web for “Docker default CPU architecture doesn't match host's”

    amd64 (or x86_64) refers to the 64-bit edition for Intel and AMD processors.

    After launching the architecture under the “x86-64” name, AMD renamed it AMD64… x86-64 is still used by many in the industry as a vendor-neutral term, while others, notably Sun Microsystems (now Oracle Corporation) and Microsoft, use x64.

    Chek this link for more information: https://en.wikipedia.org/wiki/X86-64

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.