This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

## Installation

In order to install the Docker Cloud CLI, you can use pip install:

pip install docker-cloud

For Mac OS users, you can use brew install:

brew install docker-cloud

Now you can start using it:

usage: docker-cloud [-h] [-v]
{action,container,event,exec,login,node,nodecluster,repository,run,service,stack,tag,trigger,up} …

Docker Cloud CLI

optional arguments:
-h, --help show this help message and exit
-v, --version show program’s version number and exit
Docker Cloud CLI commands:
{action,container,event,exec,login,node,nodecluster,repository,run,service,stack,tag,trigger,up}
action Action-related operations container Container-related operations event Get real time Docker Cloud events exec Run a command in a running container login Please use “docker login” to log into Docker Cloud node Node-related operations nodecluster NodeCluster-related operations repository Repository-related operations run Create and run a new service service Service-related operations stack Stack-related operations tag Tag-related operations trigger Trigger-related operations up Create and deploy a stack

## Docker image

You can also install the CLI via Docker:

docker run dockercloud/cli -h

You will have to pass your username and password as environment variables, as the credentials in the image will not persist by default:

docker run -it -e DOCKERCLOUD_USER=username -e DOCKERCLOUD_PASS=password dockercloud/cli

To make things easier, you might want to use an alias for it:

alias docker-cloud=”docker run -it -e DOCKERCLOUD_USER=username -e DOCKERCLOUD_PASS=password –rm dockercloud/cli”

or

alias docker-cloud=”docker run -it -v ~/.docker:/root/.docker:ro –rm dockercloud/cli”

Then, you can run commands like:

docker-cloud service docker-cloud exec

## Authentication

In order to manage your apps and containers running on Docker Cloud, you need to log into Docker in any of the following ways (will be used in this order):

  • Login using Docker CLI:

    $ docker login Username: admin Password: Login succeeded!

  • Set the environment variables DOCKERCLOUD_USER, DOCKERCLOUD_PASS:

    export DOCKERCLOUD_USER=<username> export DOCKERCLOUD_PASS=<password>

  • Set the environment variables DOCKERCLOUD_AUTH:

DOCKERCLOUD_AUTH is the environment variable injected via API roles

_Note: docker-cloud CLI and python-dockercloud will pick up the auth in the following order:_

  • DOCKERCLOUD_AUTH
  • DOCKERCLOUD_USER, DOCKERCLOUD_APIKEY
  • DOCKERCLOUD_USER, DOCKERCLOUD_PASS
  • ~/.docker/config.json

## Namespace

To use teams and orgs, you need to set “DOCKERCLOUD_NAMESPACE=yourteam”. After that, all the docker-cloud commands will be executed in the specified namespace.

For example:

export DOCKERCLOUD_NAMESPACE=yourteam docker-cloud container ps docker-cloud service ps

You can also set the environment variable before each command:

DOCKERCLOUD_NAMESPACE=yourteam docker container ps DOCKERCLOUD_NAMESPACE=youracc docker container ps
Release History

Release History

1.0.7

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
docker-cloud-1.0.7.tar.gz (39.5 kB) Copy SHA256 Checksum SHA256 Source Aug 5, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting