Using the standard library argparse control the container
- ./dock.py build - Build the initial container image
- ./dock.py rebuild - Force a rebuild of the container image using the no-cache setting
- ./dock.py start - Start the container
- ./dock.py stop - Stop the container
- ./dock.py delete - Delete the container (not the image)
- ./dock.py restart - Stop and start the running container
The github module uses an OATH token. You it does not support using github password. The permissions needed are:
- user
- public_repo
- repo
- repo_deployment
- repo:status
- read:repo_hook
- read:org
- read:public_key
- read:gpg_key
It may work with less, but these are the permissions it was tested with.