From 91ae1358966211826818ed452f13e3e2e27ed6cc Mon Sep 17 00:00:00 2001 From: Kawsar Saiyeed Date: Sat, 10 Aug 2013 13:05:31 +0100 Subject: [PATCH] Add description and usage information --- contrib/docker.bash | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/contrib/docker.bash b/contrib/docker.bash index dcabdf252c..5a4a8e30a9 100644 --- a/contrib/docker.bash +++ b/contrib/docker.bash @@ -1,4 +1,23 @@ #!bash +# +# bash completion file for core docker commands +# +# This script provides supports completion of: +# - commands and their options +# - container ids +# - image repos and tags +# - filepaths +# +# To enable the completions either: +# - place this file in /etc/bash_completion.d +# or +# - copy this file and add the line below to your .bashrc after +# bash completion features are loaded +# . docker.bash +# +# Note: +# If the docker daemon is using a unix socket for communication your user +# must have access to the socket for the completions to function correctly have docker && { __docker_containers()