This project shows developers how to make use of Click framework to build a client tool perform Docker operations.
This content belongs to Pusher. You can check out this tutorial on Pusher.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Things you need to install the software and how to install them
You can install Click by using the following command:
pip install Click
Follow this documentation to install Docker CE on Linux or Windows
For example, you can then run the tool by executing the command below to search for elasticsearch images
python client.py --search elasticsearch
To run the tool to pull Docker images from DockerHub, execute the following command
python client.py pull-image nginx
`
To run the tool to push Docker images to DockerHub, execute the following command
python client.py push-image nginx
- Click - A python framework to build commandline tools.