https://bugzilla.redhat.com/show_bug.cgi?id=1404434

Lars Kellogg-Stedman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #1 from Lars Kellogg-Stedman <[email protected]> ---
Setting 'help' as the default command makes it unclear how to run the container
in interactive mode...which also means that anything involving i/o redirection
will also fail, as in:

    echo 2+2 | docker run -i --rm calc

Or:

    docker run -i --rm calc < somefile

It turns out that passing an empty command will work...

    docker run -it --rm calc ''

...but that isn't necessarily intuitive.  I would just drop the CMD directive
from the Dockerfile.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to