Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


Digital Ocean CLI in a Container

Really simple CLI client to communicate to the Digital Ocean API. Runs inside a container.

This is mostly just me goofiing off with docker and DO's API.

It's highly recomended that you create an alias:
First login to Digital Ocean and create an API token.
Second create the alias:

alias do='docker run -it --rm -v /home/nick/Documents/docker-fundamentals/do_utilities:/app/ -e "ACCESS_TOKEN=<your DO access token>" fxdgear/docker-digital-ocean-cli'

Once this is complete you can run do to see a list of arguments.

$ do
usage: [-h] [-l] [--create-docker-vm] [--list-regions] [--list-droplets]
             [--destroy-droplet] [-n COUNT] [-r REGION] [-s SIZE] [-a]
             [ID [ID ...]]

Digital Ocean Helper

positional arguments:

optional arguments:
  -h, --help            show this help message and exit
  -l, --list            list images
  --create-docker-vm    Create Docker Image
  --list-regions        List regions
  --list-droplets       List Dropletss
  --destroy-droplet     Destroy Droplets
  -n COUNT, --count COUNT
  -r REGION, --region REGION
  -s SIZE, --size SIZE
  -a, --all
Docker Pull Command
Source Repository