docker stats

stats Usage: docker stats [OPTIONS] [CONTAINER...] Display a live stream of one or more containers' resource usage statistics -a, --all Show all containers (default shows just running) --help Print usage --no-stream Disable streaming stats and only pull the first result The docker stats command returns a live data stream for running containers. To limit data to one or more specific containers, specify a list of container names or ids separated by a space. Yo

Machine concepts and help

Understand Machine concepts and get help Docker Machine allows you to provision Docker machines in a variety of environments, including virtual machines that reside on your local system, on cloud providers, or on bare metal servers (physical computers). Docker Machine creates a Docker host, and you use the Docker Engine client as needed to build images and create containers on the host. Drivers for creating machines To create a virtual machine, you supply Docker Machine with the name of the dri

Deploying Notary

Deploying Notary Server with Compose The easiest way to deploy Notary Server is by using Docker Compose. To follow the procedure on this page, you must have already installed Docker Compose. Clone the Notary repository git clone git@github.com:docker/notary.git Build and start Notary Server with the sample certificates. docker-compose up -d For more detailed documentation about how to deploy Notary Server see the instructions to run a Notary service as well as https://github.com/docker/not

docker-machine regenerate-certs

regenerate-certs Usage: docker-machine regenerate-certs [OPTIONS] [arg...] Regenerate TLS Certificates for a machine Description: Argument(s) are one or more machine names. Options: --force, -f Force rebuild and do not prompt Regenerate TLS certificates and update the machine with new certs. For example: $ docker-machine regenerate-certs dev Regenerate TLS machine certs? Warning: this is irreversible. (y/n): y Regenerating TLS certificates

docker volume rm

volume rm Usage: docker volume rm [OPTIONS] VOLUME [VOLUME...] Remove a volume --help Print usage Removes one or more volumes. You cannot remove a volume that is in use by a container. $ docker volume rm hello hello Related information volume create volume inspect volume ls Understand Data Volumes

VMware vCloud Air

VMware vCloud Air Creates machines on vCloud Air subscription service. You need an account within an existing subscription of vCloud Air VPC or Dedicated Cloud. $ docker-machine create --driver vmwarevcloudair --vmwarevcloudair-username=user --vmwarevcloudair-password=SECRET vm Options: --vmwarevcloudair-username: required vCloud Air Username. --vmwarevcloudair-password: required vCloud Air Password. --vmwarevcloudair-computeid: Compute ID (if using Dedicated Cloud). --vmwarevcloudair-vdci

Rackspace

Rackspace Create machines on Rackspace cloud $ docker-machine create --driver rackspace --rackspace-username=user --rackspace-api-key=KEY --rackspace-region=region vm Options: --rackspace-username: required Rackspace account username. --rackspace-api-key: required Rackspace API key. --rackspace-region: required Rackspace region name. --rackspace-endpoint-type: Rackspace endpoint type (adminURL, internalURL or the default publicURL). --rackspace-image-id: Rackspace image ID. Default: Ubunt

Environment file

Environment file Compose supports declaring default environment variables in an environment file named .env placed in the folder docker-compose command is executed from (current working directory). Compose expects each line in an env file to be in VAR=VAL format. Lines beginning with # (i.e. comments) are ignored, as are blank lines. Note: Values present in the environment at runtime will always override those defined inside the .env file. Similarly, values passed via command-line arguments ta

docker kill

kill Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...] Kill a running container using SIGKILL or a specified signal --help Print usage -s, --signal="KILL" Signal to send to the container The main process inside the container will be sent SIGKILL, or any signal specified with option --signal. Note: ENTRYPOINT and CMD in the shell form run as a subcommand of /bin/sh -c, which does not pass signals. This means that the executable is not the container’s PID 1 and does

docker commit

commit Usage: docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]] Create a new image from a container's changes -a, --author="" Author (e.g., "John Hannibal Smith <hannibal@a-team.com>") -c, --change=[] Apply specified Dockerfile instructions while committing the image --help Print usage -m, --message="" Commit message -p, --pause=true Pause container during commit It can be useful to commit a container’s file changes or settings into a new image.