April 11, 2017

Docker: Combine Options

Combining options

Multiple single-character command line options, particularly if they do not require an argument, can be combined.

For example, rather than typing:
  • docker run -i -t --name test busybox sh
you can use:
  • docker run -it --name test busybox sh

References:

No comments:

Post a Comment