Manhandling Man Pages
If it doesn’t page, you can still search and navigate by piping to less
.
docker run --help | less
If you want to quickly look up a CLI option, try grep
.
$ docker run --help | grep " \-i"
-i, --interactive Keep STDIN open even if not attached
$ docker run --help | grep " \-t"
-t, --tty Allocate a pseudo-TTY
$ docker run --help | grep " \--rm"
--rm Automatically remove the container when it exits