Metadata-Version: 2.1
Name: dokr
Version: 0.8
Summary: A Docker and AWS utility package
Home-page: https://github.com/javatechy/dokr
Author: Deepak Kumar
Author-email: deepak.kumar.iet@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests

# 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

