Watch a demo of installing and configuring the Docker Cloud CLI tool.
- [Instructor] When I'm documenting a procedure work with one of the many hosted services I use, I always go looking for the CLI tool for that service first. While the UI may be easier to use, it's harder to describe and way more subject to change. It's terrible when you go to follow some documented process only to discover that the menu options have changed or moved. Thankfully, docker cloud has a fully featured CLI allowing us to access almost everything that's in the UI.
In this video, we'll cover installing docker cloud CLI and how to use it. The docker cloud CLI tool's a Python application. On Windows and Linux, you'll need to first install Python and Pip. For directions on how to do this, watch Lynda's video installing Python from the Up and Running with Python series. On Windows or Linux, use pip install docker-cloud. On Windows or Linux, use pip install docker-cloud.
For OS 10, we're going to need to install brew, the package manager. Go to brew.sh and copy this link off their homepage. Go to brew.sh and copy this link off their homepage. Then go to a terminal and paste that in. Now you can type brew install docker-cloud. Now you can type brew install docker-cloud. In the next video, we'll get into actually using the CLI tool.
- Linking to cloud providers
- Creating a node cluster
- Creating and scaling a service
- Installing, setting up, and using the CLI tool
- Creating a basic stack file and managing a stack
- Pushing a container image
- Linking containers in Docker Cloud
- Linking containers for service discovery