calmera
d2c6791082
Update docker.py
...
Added some more documentation for the memory_limit and volume options.
2015-01-22 23:08:24 -08:00
Brian Coca
d66c3fcf51
moved defaulting to module constant to after when it is defined
2015-01-21 19:50:34 -05:00
Marek Chodor
13685fb91b
Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start()
2015-01-21 13:37:24 +01:00
Lorin Hochstein
48ce8bb564
Don't pass volumes_from to create_container
...
Don't pass the volumes_from argument to the Docker create_container method.
If the volumes_from argument is passed to the create_container method, Docker
raises the following exception:
docker.errors.DockerException: 'volumes_from' parameter has no effect on
create_container(). It has been moved to start()
2014-12-27 22:05:55 -05:00
Lorin Hochstein
3665c92856
docker: fix volume[s]_from typo
...
Code makes reference to volume_from instead of volumes_from. If volumes_from is
passed as an argument, generates a KeyError.
2014-12-25 23:31:06 -05:00
Jan Weitz
ebf9b8c6e2
Fixes invalid dictionary access.
2014-12-24 13:15:40 +01:00
Jan Weitz
82601fdc54
Fixes version check for docker-py
2014-12-24 03:04:04 +01:00
Toshio Kuratomi
c4f9366e91
Newstyle class
2014-12-18 13:43:55 -08:00
Toshio Kuratomi
f65d9ab793
Make insecure_registry feature version check against the client API
2014-12-18 12:45:13 -08:00
Maksim Losev
4172d445d3
Add insecure_registry to docker-py pull method
...
Starting from docker-py>=0.5.0 it is impossible to work with private registries based on HTTP.
So we need additional parameter to allow pull from insecure registry
Related to ansible/ansible#9111
2014-12-18 12:36:17 -08:00
Toshio Kuratomi
fa0fa9d221
Make docker ver checks issue failures rather than silently ignoring
...
Also:
* make client version checks robust for two digit version pieces and
alpha versions
* consolidate version checking code
2014-12-18 11:23:44 -08:00
Ingo Gottwald
80d45c78a3
Add support for new docker restart policies
2014-12-18 10:27:53 +01:00
PikachuEXE
6ce7e63c5f
~ Add missing documentation for option email
2014-12-10 10:23:59 +08:00
Toshio Kuratomi
c6522620c5
Clean up the docker module just a little so that we can unittest the get_split_image_tag function
2014-11-14 08:46:32 -08:00
Brian Coca
0c4adcb2c6
made subcategories for cloud modules for better organization
2014-11-04 11:18:09 -05:00