community.docker/plugins/module_utils
Felix Fontein 4d9b85c975
Update vendored Docker SDK for Python code (#694)
* vendored Docker SDK for Python code: volume: added support for bind propagation

https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation

Cherry-picked from bea63224e0

Co-authored-by: Janne Jakob Fleischer <janne.fleischer@ils-forschung.de>
Co-authored-by: Milas Bowman <milas.bowman@docker.com>

* vendored Docker SDK for Python code: fix: eventlet compatibility

Check if poll attribute exists on select module instead of win32 platform check

The implementation done in #2865 is breaking usage of docker-py library within eventlet.
As per the Python `select.poll` documentation (https://docs.python.org/3/library/select.html#select.poll) and eventlet select removal advice (eventlet/eventlet#608 (comment)), it is preferable to use an implementation based on the availability of the `poll()` method that trying to check if the platform is `win32`.

Fixes https://github.com/docker/docker-py/issues/3131

Cherry-picked from 78439ebbe1

Co-authored-by: Mathieu Virbel <mat@meltingrocks.com>

* vendored Docker SDK for Python code: fix: use response.text to get string rather than bytes

Adjusted from 0618951093

Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Milas Bowman <milas.bowman@docker.com>

* vendored Docker SDK for Python code: Fix missing asserts or assignments

Cherry-picked from 0566f1260c

Co-authored-by: Aarni Koskela <akx@iki.fi>

---------

Co-authored-by: Janne Jakob Fleischer <janne.fleischer@ils-forschung.de>
Co-authored-by: Milas Bowman <milas.bowman@docker.com>
Co-authored-by: Mathieu Virbel <mat@meltingrocks.com>
Co-authored-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-10-08 18:16:27 +02:00
..
_api Update vendored Docker SDK for Python code (#694) 2023-10-08 18:16:27 +02:00
module_container fix: fix tmpfs_size and tmpfs_mode not being set (#580) 2023-02-10 14:05:09 +01:00
_scramble.py Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
common_api.py Fix imports. (#585) 2023-02-12 22:09:02 +01:00
common.py Fix imports. (#585) 2023-02-12 22:09:02 +01:00
copy.py Add docker_container_copy_into module (#545) 2023-01-09 11:52:29 +01:00
image_archive.py Make image archive/save idempotent, using image id and repo tags as keys (#500) 2022-11-30 23:45:36 +01:00
socket_handler.py Make sure plugins/module_utils/socket_handler.py works when Docker SDK for Python is not installed. (#620) 2023-05-15 21:43:31 +02:00
socket_helper.py Warn that SSLSocket cannot send close_notify TLS alerts (#621) 2023-05-15 21:41:23 +02:00
swarm.py Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml (#430) 2022-07-20 07:45:33 +02:00
util.py Remove unneccessary imports (#575) 2023-02-09 15:25:45 +01:00
version.py Remove unneccessary imports (#575) 2023-02-09 15:25:45 +01:00