How to resolve `Illegal instruction` error while running docker run command?

I have build a docker image inside the vagrant machine and also from TRAVIS linux enviroment and then i have pushed this image to Docker hub and pulled into Softlayer machine.

After i pulled the image, i ran docker run command like below

  • Keyboard/Mouse are unresponsable when running x-org in a docker container
  • WordPress's wp-admin panel weird behavior
  • How can I use Kalabox with a WordPress Install that has a nested web root?
  • How can I use docker-compose locally after setting up a docker-machine host?
  • Can I automate my quay.io Docker image build if it derives from an image that requires permissions to be pulled?
  • Docker Registry and Basic Auth
  • docker run -i -t rameshthoomu/openpeer /bash/bin then when i run

    root@23495a2ed7a8:/go/src/github.com/openblockchain/obc-peer# /go/bin/obc-peer peer command i am getting below error message.

    Illegal instruction..

    It’s working file when i build and run the same image inside the vagrant environment. Also, if i create an image inside the softlayer machine, i could run the image and can proceed further.

    I don’t have any clue why i am getting this error message. Any thoughts?

  • docker mounting volumes on host
  • Docker-machine host env on multiple computers?
  • Filter docker images by name
  • Docker container not writing to volume
  • Correlate a gitlab ci run to its runner
  • Docker container binds to port, but I am unable to ping it
  • One Solution collect form web for “How to resolve `Illegal instruction` error while running docker run command?”

    The command is /bin/bash/ not /bash/bin.

    Try the following instead:

    docker run -i -t rameshthoomu/openpeer /bin/bash

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