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?

  • Private docker registry authentication in aws ecs optimized AMI is not successful
  • Commands to execute background process in Docker CMD
  • gunicorn with flask application not allowing more than one connection
  • Docker-machine swarm; how to open ports on VM
  • connecting to local mongodb from docker container
  • transform command line docker to Dockerfile
  • docker-compose: define mount for bind mount and managed mount
  • How to link binaries between docker containers
  • OpenShift Docker login issue
  • Link nodejs app to Rethinkdb from another container
  • VirtualBox and Nginx very slowly serving cached static JS and CSS files
  • How to find Docker REST API URI for Jenkins
  • 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:

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