Using the Docker Cloud CLI
Docker Cloud has a Command Line Interface (CLI) Tool that you can use to interact with the service.
Install
These are the instructions to install and use the Docker Cloud CLI.
Linux & Windows
Open your Terminal application and execute the following command:
$ pip install docker-cloud
Check that the CLI installed correctly:
$ docker-cloud -v
docker-cloud 1.0.0
Mac OS X
We recommend installing Docker CLI for OS X using Homebrew. If you don’t have brew installed, follow the instructions here: http://brew.sh
Once Homebrew is installed, open Terminal and run the following command:
$ brew install docker-cloud
Then run the following to check that the CLI installed correctly:
$ docker-cloud -v
docker-cloud 1.0.0
Getting Started
First thing is to login, to do so, execute the following:
$ docker login
Username: user
Password:
Email: user@example.org
Login succeeded!
Please visit our Developer documentation site for more information on the CLI.
Upgrade
Linux & Windows
$ pip install -U docker-cloud
Mac OS X
$ brew update && brew upgrade docker-cloud
Uninstall
Linux & Windows
Open your Terminal application and execute the following command:
$ pip uninstall docker-cloud
Mac OS X
Open your Terminal application and execute the following command:
$ brew uninstall docker-cloud
