Make run and rmi bash completions configurable
Make run and rmi bash completions configurable

Allow the user to configure how Docker's bash completion works for the
"events", "history", "inspect", "run", "rmi" and "save" commands through the
following environment variables:

DOCKER_COMPLETION_SHOW_IMAGE_IDS
  "none" - Show names only (default)
  "non-intermediate" - Show names and ids, but omit intermediate image IDs
  "all" - Show names and ids, including intermediate image IDs

DOCKER_COMPLETION_SHOW_TAGS
  "yes" - include tags in completion options (default)
  "no"  - don't include tags in completion options

Fixes #9474.

Signed-off-by: Rory Hunter <ebf21879dff3e84826aa9ac72fb39c7a92ca5158@gmail.com>

thaJeztah/cli,ashfall/cli,redpanda/cli,e11137/cli,dnephin/cli,cpuguy83/cli,allencloud/cli,docker/cli,riyazdf/cli,dnephin/cli,allencloud/cli,ashfall/cli,docker/cli,cpuguy83/cli,Zebrilee/cli,thaJeztah/cli,riyazdf/cli,redpanda/cli,Zebrilee/cli,e11137/cli