Skip to main content

A Docker and AWS utility package

Project description

dokr

A Helper pip package for docker and ECS tasks

Check The options Available

dokr help

login into ecs directly (Assuming awscli is installed and configured)

dokr lecs

Prune docker system

dokr clean-all

Delete all the images matching the pattern

dokr clean pattern_xxx

Add a tag to the existing image matching the provided pattern (for latest tag only)

dokr tag pattern_xxx tag_name

Push all images on a system matching a pattern

dokr push pattern_xxx

Check ecs logs - this command will ask for cluster/service and task defination.

dokr log

Check current public ip of a machine on AWS

dokr ip searchpattern

Development:

  • Clean ununsed: rm -rf build/ dist/ *egg* **.pyc __pycache__
  • Build package: python setup.py bdist_wheel
  • deploy package: python -m twine upload dist/*

follow this link for more details https://dzone.com/articles/executable-package-pip-install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dokr-1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file dokr-1.0-py3-none-any.whl.

File metadata

  • Download URL: dokr-1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.10.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.4

File hashes

Hashes for dokr-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f83906eddaf43d8a0314afa05be41134c97f3862267e372bbd3bb6e14c943aea
MD5 9e09a44003a311e6edc7111125a78d30
BLAKE2b-256 54f1d69c3d3e3a8fb56d1c2b07038a233e6bcb8d5098f6d36c7667ba73fb1bce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page