Skip to content

Instantly share code, notes, and snippets.

@duglin
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duglin/0d7b873fe74a7d2ce966 to your computer and use it in GitHub Desktop.
Save duglin/0d7b873fe74a7d2ce966 to your computer and use it in GitHub Desktop.
Usage: docker [OPTIONS] COMMAND [arg...]
docker daemon [arg...]
docker [ -h | --help | -v | --version ]
A self-sufficient runtime for containers.
Options:
--config=~/.docker Location of client config files
-D, --debug=false Enable debug mode
-H, --host=[] Daemon socket(s) to connect to
-l, --log-level=info Set the logging level
--tls=false Use TLS; implied by --tlsverify
--tlscacert=~/.docker/ca.pem Trust certs signed only by this CA
--tlscert=~/.docker/cert.pem Path to TLS certificate file
--tlskey=~/.docker/key.pem Path to TLS key file
--tlsverify=false Use TLS and verify the remote
Commands:
attach Attach to a running container
build Build an image from a Dockerfile
commit Create a new image from a container's changes
cp Copy files/folders from a container to a HOSTDIR or to STDOUT
create Create a new container
diff Inspect changes on a container's filesystem
...
Notice no 'daemon' command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment