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.
- :computer: Install ecs-cli before running this command from here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html
dokr log
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
Release history Release notifications | RSS feed
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-0.8-py3-none-any.whl
(7.1 kB
view hashes)