Public | Automated Build

Last pushed: a year ago
Short Description
Singe endpoint Flask/Python app
Full Description


Flask in Docker that has one endpoint and a CLI for running it

  1. Build a container with a simple flask app

Automated build available at the Docker Hub

  1. Build a CLI in python to interact with your container


$ dockcli run <container name>
$ dockcli stop <container name>


  • can pip install --editable
  • name: dockcli
  • container runs deamonized via CLI
  • arity 2: run|stop, container name
  • run return success: Your app is running on address, return code 0
  • run return failure: unspecified, return code non-zero
  • stop return: stop and clean up container, return code 0


  • functional or unit tests of CLI

Tools to use

Would like to improve on...

  • Break commands out into their own directory so as to be more modular and less clumsy as just one "action" switch
Docker Pull Command
Source Repository