Docker Shell Corner Cases
During work building Docker executables, I ran in an interesting corner case. Fortunately the Docker IRC channel helped me to investigate with special credits to Ravensoul.
When you build a container as an executable you can use the ENTRYPOINT for your binary to execute and CMD as a default overwritable argument.
In most cases the CMD is the --help argument to provide a useful default behavior in case you just run the container without anything specified.