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

Deploy an image on a task

dokr deploy cluster_name service_name tag_name

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

dokr-1.2-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

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