Commit Graph

253 Commits

Author SHA1 Message Date
Sam Napolitano
c8710251b8 Correctly handle empty dangling volumes
When there's no dangling volumes 'None' is returned but code
is expecting List.  Convert to empty list.
2018-03-01 13:38:21 -05:00
Kyle Anderson
4fb6946ebe Merge pull request #43 from scrapinghub/fix-image-in-use
Fix broken filtering for images used by containers
2017-05-17 16:37:21 -07:00
Alexander Chekunkov
89da31b4ec Fix broken filtering for images used by containers
Error calling remove_image image=xxx:latest 409 Client Error: Conflict ("conflict: unable to remove repository reference "xxx:latest" (must force) - container 91ab644a7b31 is using its referenced image 7caea3c78386")
2017-04-21 18:12:42 +01:00
Kyle Anderson
4925cb0d9a Merge pull request #40 from ymilki/dangling_volumes
Remove dangling volumes
2016-12-01 09:21:42 -08:00
milki
fee79d9e35 Remove dangling volumes 2016-11-30 17:00:06 -08:00
Kyle Anderson
dc4ed27428 Merge pull request #39 from Yelp/revert_docker-py_change
Revert docker-py version change
2016-10-20 09:46:44 -07:00
Paul O'Connor
2489d9ed3a Revert docker-py version change 2016-10-20 15:00:28 +01:00
Kyle Anderson
c2a424c30c Merge pull request #35 from scrapinghub/exclude-with-patterns
Add patterns support for exclude-image-file
2016-10-10 09:43:35 -07:00
Kyle Anderson
f645eafbad Merge pull request #36 from Yelp/remove_volumes
Remove volumes when removing containers
2016-10-05 09:36:06 -07:00
Paul O'Connor
d2cb9c467d Remove volumes when removing containers 2016-10-05 09:18:56 +01:00
Viktor Shlapakov
7e8feb3904 Add pattern matching info to README.rst 2016-10-04 12:23:40 +03:00
Viktor Shlapakov
cd4121cb59 Add patterns support for exclude-image-file 2016-10-03 16:41:14 +03:00
Kyle Anderson
2375af1513 Fix travis pypi auth 2016-08-31 11:16:25 -07:00
Kyle Anderson
f225f4937b Fix release for 0.6.1 2016-08-31 09:57:49 -07:00
Kyle Anderson
302262639f Release 0.6.1 2016-08-31 09:52:49 -07:00
Daniel Hoherd
70337faa8b Revert 3d552af0d4 2016-06-28 11:18:33 -07:00
Daniel Hoherd
3d552af0d4 Fix 'Depends:' for lucid and newer 2016-06-28 11:16:24 -07:00
Daniel Hoherd
c94e035804 python2.7 vs python >= 2.7 to fix lucid package build. 2016-06-28 10:33:38 -07:00
Daniel
f121f0ff6c Merge pull request #33 from danielhoherd/master
Bump to python >=2.7
2016-06-27 14:34:07 -07:00
Daniel Hoherd
aeb927a193 Bump to python >2.7 2016-06-27 14:29:43 -07:00
Kyle Anderson
d2bf1008b2 Merge pull request #32 from danielhoherd/master
Overriding tox with /bin/true
2016-06-27 14:17:08 -07:00
Daniel Hoherd
aa183a12ee Debugging with true 2016-06-27 13:50:11 -07:00
Kyle Anderson
670df44209 Merge pull request #31 from danielhoherd/master
Bump debian version to 0.6.0
2016-06-24 16:27:00 -07:00
Daniel Hoherd
e6c9c641b8 Bump debian version to 0.6.0 2016-06-24 13:56:48 -07:00
Kyle Anderson
7c6b4cd37f added #egg=docker_custodian to pip example. Closes #22 2016-04-20 14:11:35 -07:00
Kyle Anderson
0749ece61a Merge pull request #27 from kentwills/remove_py26_support
Remove py26 support, code cleanup
2016-04-20 14:10:18 -07:00
Kent Wills
f33f0b4b83 bump version, remove argparse dep for py2.6 2016-04-20 10:19:00 -07:00
Kent Wills
8a17688c41 dict() to {} 2016-04-20 10:13:03 -07:00
Kent Wills
1b7040a432 remove py26, better pre-commit support, cleaner tox 2016-04-20 10:01:02 -07:00
Kyle Anderson
b66adba924 Merge pull request #26 from oktopuz/master
bump docker-py version from 1.4.0 to 1.7.2
2016-04-04 17:03:26 -07:00
Alexander Dudko
d09b45e245 bump docker-py version 2016-04-04 16:58:34 -07:00
Semir Patel
2fdd6524b3 Bump to 0.5.2 2015-12-15 10:01:20 -08:00
Kyle Anderson
a6a66db9e9 Merge pull request #23 from analogue/min_container_age
Don't remove recently created containers that were never used
2015-12-15 09:30:44 -08:00
Semir Patel
c92d4cc24d Fixed bug for containers that were never started and not old 2015-12-15 09:22:43 -08:00
Semir Patel
f19f7a4430 Add --min-container-date 2015-12-14 12:52:22 -08:00
Kyle Anderson
52cc72d41c Merge pull request #18 from dnephin/upgrade_docker_py
Upgrade requirements to fix #17
2015-09-29 13:25:23 -07:00
Daniel Nephin
720401c3b2 Upgrade requirements to fix #17 2015-09-29 14:30:42 -04:00
Kyle Anderson
a4cc854a7f Update the readme to reflect that the official docker image. Fixes #16 2015-09-29 10:57:23 -07:00
Kyle Anderson
a2cf0f9118 Merge pull request #9 from dnephin/add_container
Add install instructions to the README
2015-09-23 13:22:37 -07:00
Daniel Nephin
448bec4854 Merge pull request #12 from jschrantz/autoversion
Automatically determine the Docker API version to use
2015-09-23 10:37:41 -04:00
John Schrantz
773f97d450 Automatically determine the Docker API version to use instead of assuming the latest. 2015-09-02 12:58:04 -05:00
Daniel Nephin
7a5336c47c Fix run instructions for the container. 2015-08-31 21:31:14 -04:00
Daniel Nephin
122e8d8c6e Add a container to run docker-custodian and install instructions to the README. 2015-08-08 18:11:22 -04:00
Daniel Nephin
4c008ed05a Merge pull request #8 from dnephin/fix_readme
Fix readme formatting
2015-08-08 13:28:56 -07:00
Daniel Nephin
8e8c0188bb Fix readme formatting. 2015-08-08 16:28:14 -04:00
Daniel Nephin
e12f6808d8 Add changelog for 0.5.0 release. 2015-07-21 11:15:12 -07:00
Daniel Nephin
93623152c3 Merge pull request #6 from dnephin/exclude_some_images
Support excluding some images from removal
2015-07-21 09:04:33 -07:00
Daniel Nephin
b45fd97e81 Support excluding some images from removal. 2015-07-20 15:41:11 -07:00
Daniel Nephin
bbf53ed53c Merge pull request #5 from dnephin/enable_travis_ci
Add .travis.yml
2015-07-14 13:29:14 -07:00
Daniel Nephin
46fec73506 Add .travis.yml 2015-07-14 13:28:28 -07:00