{ "info": { "author": "Shay Arbov", "author_email": "shay.arbov@stratoscale.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "# DIM - Docker Image Monitor\n\nListen on docker events and register image usage time.\n\n## Installation\n```\nsudo pip install git+http://github.com/stratoscale/dim.git\n```\nThe installation will add the dim service to systemd, make sure you reload it.\n```\nsystemctl daemon-reload\nsystemctl enable dim.service\nsystemctl start dim.service\n```\n\n## Usage\n\nTo display the images last start time run\n```\ndim-display\n``` \nexample output\n\n```\n+-----------------------------------------------------------------------------------+-------------------+\n| Image | Last Start Time |\n+===================================================================================+===================+\n| fakes3:latest | 7 hours ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| mariadb:10.1.19 | 7 hours ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| consul:0.9.2 | 7 hours ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| dynamodb:latest | 7 hours ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| postgres:latest | 2 days ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| mariadb:10.1.26 | 6 days ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| gotty:latest | 11 days ago |\n+-----------------------------------------------------------------------------------+-------------------+\n| rabbitmq:3.5.1-management | 18 days ago |\n+-----------------------------------------------------------------------------------+-------------------+\n```\n\nFor more options run:\n```\ndim-display -h\n``` \n\n```\nusage: dim-display [-h] [-q] [-w WHITELIST] [-m MIN_AGE] [-r] [-s {age,image}]\n\nDisplay Images Last Start Time.\n\noptional arguments:\n -h, --help show this help message and exit\n -q, --quiet If set, returns only the image names\n -w WHITELIST, --whitelist WHITELIST\n Images whitelist file\n -m MIN_AGE, --min-age MIN_AGE\n Minimum image age in seconds\n -r, --reverse If set images will be sorted by reversed order\n -s {age,image}, --sort-by {age,image}\n If set images will be sorted by that attribute\n\n```\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/stratoscale/dim.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "dim", "package_url": "https://pypi.org/project/dim/", "platform": "", "project_url": "https://pypi.org/project/dim/", "project_urls": { "Homepage": "http://github.com/stratoscale/dim.git" }, "release_url": "https://pypi.org/project/dim/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Docker Image Monitor", "version": "1.0.0" }, "last_serial": 3640559, "releases": { "0.0.1.dev14": [ { "comment_text": "", "digests": { "md5": "28e784eb8e9d7245b99b28bd97f24168", "sha256": "cf7dd337545f92e040ae5c10cd1decbbddd86ba0152afff0c1b995acab82f7d1" }, "downloads": -1, "filename": "dim-0.0.1.dev14.tar.gz", "has_sig": false, "md5_digest": "28e784eb8e9d7245b99b28bd97f24168", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5693, "upload_time": "2018-03-05T14:06:08", "url": "https://files.pythonhosted.org/packages/74/73/e5f02e52e5ce5c7358d7267be03fefbd751fa5a2074aa72887abe1f069df/dim-0.0.1.dev14.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "df4a59abd0707572542bcde862d9892d", "sha256": "90f3c1a39bcd044e51e09413afbc79c6659aff9295145a978c899546ccf1ceb6" }, "downloads": -1, "filename": "dim-1.0.0.tar.gz", "has_sig": false, "md5_digest": "df4a59abd0707572542bcde862d9892d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5691, "upload_time": "2018-03-05T14:07:05", "url": "https://files.pythonhosted.org/packages/ef/ac/7b3e70b320ce78e9439e121413cdfee0ad00d8f4d9696b4db46bac0763bc/dim-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df4a59abd0707572542bcde862d9892d", "sha256": "90f3c1a39bcd044e51e09413afbc79c6659aff9295145a978c899546ccf1ceb6" }, "downloads": -1, "filename": "dim-1.0.0.tar.gz", "has_sig": false, "md5_digest": "df4a59abd0707572542bcde862d9892d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5691, "upload_time": "2018-03-05T14:07:05", "url": "https://files.pythonhosted.org/packages/ef/ac/7b3e70b320ce78e9439e121413cdfee0ad00d8f4d9696b4db46bac0763bc/dim-1.0.0.tar.gz" } ] }