Add description and usage information

Upstream-commit: 91ae1358966211826818ed452f13e3e2e27ed6cc
Component: engine
This commit is contained in:
Kawsar Saiyeed
2013-08-10 13:05:31 +01:00
parent dbd3da9a6b
commit 0dd9388168

View File

@ -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()