Digital Ocean

Digital Ocean Create Docker machines on Digital Ocean. You need to create a personal access token under “Apps & API” in the Digital Ocean Control Panel and pass that to docker-machine create with the --digitalocean-access-token option. $ docker-machine create --driver digitalocean --digitalocean-access-token=aa9399a2175a93b17b1c86c807e08d3fc4b79876545432a629602f61cf6ccd6b test-this Options: --digitalocean-access-token: required Your personal access token for the Digital Ocean API. --digi

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

Configure container DNS

Configure container DNS The information in this section explains configuring container DNS within the Docker default bridge. This is a bridge network named bridge created automatically when you install Docker. Note: The Docker networks feature allows you to create user-defined networks in addition to the default bridge network. Please refer to the Docker Embedded DNS section for more information on DNS configurations in user-defined networks. How can Docker supply each container with a hostna

Using Chef

Using Chef Note: Please note this is a community contributed installation path. Requirements To use this guide you’ll need a working installation of Chef. This cookbook supports a variety of operating systems. Installation The cookbook is available on the Chef Supermarket and can be installed using your favorite cookbook dependency manager. The source can be found on GitHub. Usage Add depends 'docker', '~> 2.0' to your cookbook’s metadata.rb Use resources shipped in cookbook in a recipe, t

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

Provision with Machine

Provision a Swarm cluster with Docker Machine You can use Docker Machine to provision a Docker Swarm cluster. Machine is the Docker provisioning tool. Machine provisions the hosts, installs Docker Engine on them, and then configures the Docker CLI client. With Machine’s Swarm options, you can also quickly configure a Swarm cluster as part of this provisioning. This page explains the commands you need to provision a basic Swarm cluster on a local Mac or Windows computer using Machine. Once you u

Amazon CloudWatch Logs logging driver

Amazon CloudWatch Logs logging driver The awslogs logging driver sends container logs to Amazon CloudWatch Logs. Log entries can be retrieved through the AWS Management Console or the AWS SDKs and Command Line Tools. Usage You can configure the default logging driver by passing the --log-driver option to the Docker daemon: docker daemon --log-driver=awslogs You can set the logging driver for a specific container by using the --log-driver option to docker run: docker run --log-driver=awslogs ..

docker-machine url

url Get the URL of a host $ docker-machine url dev tcp://192.168.99.109:2376

docker version

version Usage: docker version [OPTIONS] Show the Docker version information. -f, --format="" Format the output using the given go template --help Print usage By default, this will render all version information in an easy to read layout. If a format is specified, the given template will be executed instead. Go’s text/template package describes all the details of the format. Examples Default output: $ docker version Client: Version: 1.8.0 API version: 1.20 Go versi

docker-machine upgrade

upgrade Upgrade a machine to the latest version of Docker. How this upgrade happens depends on the underlying distribution used on the created instance. For example, if the machine uses Ubuntu as the underlying operating system, it will run a command similar to sudo apt-get upgrade docker-engine, because Machine expects Ubuntu machines it manages to use this package. As another example, if the machine uses boot2docker for its OS, this command will download the latest boot2docker ISO and replace