Felix Fontein
dc3eabd9a4
[stable-4] Adjust 'report this' messages to only report if the latest version still has this problem ( #1174 ) ( #1175 )
...
* Adjust 'report this' messages to only report if the latest version still has this problem. (#1173 )
(cherry picked from commit 6b5d76bdee )
* Adjust checks.
(cherry picked from commit 24f35644e3 )
(cherry picked from commit 075bc91ce8 )
2025-10-16 20:21:56 +02:00
patchback[bot]
338b3db654
Fix crashes due to wrong names. ( #1161 ) ( #1163 ) ( #1164 )
...
(cherry picked from commit 33c8a49191 )
(cherry picked from commit b058cd40da )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-11 22:15:18 +02:00
patchback[bot]
3a7030426e
Avoid losing data from events if multiple arrive at the same time. ( #1158 ) ( #1159 ) ( #1160 )
...
(cherry picked from commit f7e976f3da )
(cherry picked from commit db20b1876d )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-10 21:02:50 +02:00
patchback[bot]
1b9461325c
Prevent loss of data. ( #1152 ) ( #1153 )
...
(cherry picked from commit ec5f7682a1 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-07 22:28:04 +02:00
Felix Fontein
43c4d10383
Fix docker_container_exec's detach=true. ( #1145 ) ( #1148 ) ( #1151 )
...
(cherry picked from commit 449b37e1c9 )
(cherry picked from commit 488dd28339 )
2025-10-07 19:46:25 +02:00
patchback[bot]
c7f165aae1
Fix diff for plugin options. ( #1146 ) ( #1147 ) ( #1149 )
...
(cherry picked from commit 54c2e49fdf )
(cherry picked from commit acea22ba47 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-07 19:06:37 +02:00
Felix Fontein
676c2edc46
Fix YAML (sorry).
2025-08-26 21:56:03 +02:00
Laurent Commarieu
218ed586fa
Rename login_results to login_result in docker_login docstring ( #1121 )
...
(cherry picked from commit ba58752646 )
2025-08-26 21:50:06 +02:00
patchback[bot]
ac046ce99c
Work around bug in Docker 28.3.3 that prevents pushing to registry without authentication. ( #1110 ) ( #1111 )
...
(cherry picked from commit e1920d1cc7 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-03 15:39:01 +02:00
patchback[bot]
2a04d8fa7e
Adjust to Compose 2.39.0+. ( #1101 ) ( #1102 )
...
(cherry picked from commit ac301beebd )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-25 22:15:53 +02:00
Felix Fontein
620037e470
docker_container idempotency: work around Docker not returning true configured command when command is [] ( #1085 ) ( #1086 )
...
* Work around Docker not returning true configured command when command is [].
* Lint.
* Add test.
* Add changelog fragment.
(cherry picked from commit e9f4553b01 )
2025-06-08 21:06:26 +02:00
patchback[bot]
6e2505cd48
docker_compose_v2: work around bug in docker compose images --format json ( #1083 ) ( #1084 )
...
* Work around ubg in docker compose images --format json.
* ContainerName is no longer in image record.
(cherry picked from commit 8ecbd9a5cc )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-08 09:24:44 +02:00
patchback[bot]
91ab748340
Warn about octal modes. ( #1072 ) ( #1073 )
...
(cherry picked from commit 3a3ece3ba5 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-04-26 12:40:06 +02:00
patchback[bot]
efe229a768
fix: docker_compose_v2_run: don't need sanitize labels ( #1034 ) ( #1038 )
...
(cherry picked from commit ea3ac5f195 )
Co-authored-by: Alexandre Díaz <dev@redneboa.es>
2025-02-02 22:54:34 +01:00
patchback[bot]
3c59569016
Improve error handling. ( #1035 ) ( #1036 )
...
(cherry picked from commit 511cfe52ca )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-31 19:58:54 +01:00
patchback[bot]
fe81035065
Fix label sanitization error handling. ( #1029 ) ( #1030 )
...
(cherry picked from commit 9cc70f5202 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-22 22:07:16 +01:00
Felix Fontein
186fdbd18c
Improve language.
...
(cherry picked from commit f69536ef3b )
2024-12-28 14:31:05 +01:00
patchback[bot]
27366f4926
docker_network: adjust documentation to reality for state=absent + force=true. ( #1016 ) ( #1017 )
...
(cherry picked from commit d17ee667ce )
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-20 23:06:19 +01:00
Felix Fontein
49263d6af5
[stable-3] docker_compose_v2: ignore build events for changed status ( #1012 )
...
* docker_compose_v2: add ignore_build_events option; ignore build events by default (#1011 )
* Add ignore_build_events option.
* Adjust docs and tests.
* Switch default to true.
* Remove unnecessary parts from tests.
(cherry picked from commit 2e7b4e4605 )
* Remove the new option.
2024-12-14 21:32:14 +01:00
Felix Fontein
edd0186288
[stable-3] docker_image_build: add note on strange behavior ( #1007 )
...
* Add note on strange behavior.
* Document strange behavior in changelog.
2024-12-14 15:12:54 +01:00
patchback[bot]
4ab7733579
Prevent crash if Mode isn't present, which happens for Swarm jobs. ( #1003 ) ( #1004 )
...
(cherry picked from commit 7583ea82ac )
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-04 21:57:04 +01:00
patchback[bot]
8fc562825c
Doc fix for docker_container image_name_mismatch ( #991 ) ( #997 )
...
* doc-fix-image-name-mismatch
* Update description.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 6595d299e2 )
Co-authored-by: Michael <meeque@users.noreply.github.com>
2024-11-23 14:30:42 +01:00
patchback[bot]
46e860dcdb
Correctly set can_talk_is_docker. ( #995 ) ( #996 )
...
(cherry picked from commit 78bdccd453 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-11-23 13:32:03 +01:00
patchback[bot]
263a234374
module docker_compose_v2_run: fix env argument ( #992 ) ( #994 )
...
* module docker_compose_v2_run: fix env argument
* fix missing "--env" in docker_compose_v2_exec, and added changelog fragment
* Update changelogs/fragments/992-module-docker_compose_v2_run-fix-env-argument.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit e3b36e5f0a )
Co-authored-by: Sánta Balázs Levente <99618028+SantaBalazsLevente@users.noreply.github.com>
2024-11-23 00:19:33 +01:00
patchback[bot]
cc80ff227e
Sanitize labels. ( #985 ) ( #986 )
...
(cherry picked from commit 1e10834905 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-11-10 00:30:40 +01:00
Felix Fontein
28e87f4602
Compose v2: improve parsing of dry-run building JSON events ( #976 )
...
* Catch more warnings that shouldn't be there.
* Add explicit handling of dry-run image build JSON events.
These produce some one-off ID values that don't make any sense as ID values.
2024-10-14 20:56:49 +02:00
Felix Fontein
1485adce29
Make clear that inventory config files need to have a very speific ending. ( #974 )
2024-10-04 10:17:23 +02:00
Felix Fontein
423a9bbf61
Add Docker Compose v2 exec and run modules. ( #969 )
2024-09-27 13:00:48 +03:00
Felix Fontein
3802e424d9
docker_prune: improve docs, fix handling of lists for filters ( #966 )
...
* Improve docs.
* Fix handling of lists for filters.
2024-09-17 20:50:48 +02:00
Felix Fontein
3cc27ecd65
Handle yet another random unstructured error output. ( #949 )
2024-08-07 15:58:23 +02:00
Felix Fontein
d91f854d45
Fix composition of --output parameters. ( #947 )
2024-08-01 17:22:10 +02:00
Felix Fontein
c3aceebd7d
Docker* connection plugins: add working_dir and privileged options ( #943 )
...
* Add working_dir option.
* Add privileged option.
* Add basic tests.
* Also test privileged.
2024-07-25 20:35:32 +00:00
Felix Fontein
7464002bc3
Docker* connection plugins: allow to pass extra environment variables when running commands ( #940 )
...
* Allow to pass extra environment variables when running commands.
* Make compatible with older Python.
* Remove env and ini sources for extra_env.
2024-07-25 21:26:15 +02:00
Felix Fontein
0fe84b510b
docker_compose_v2_pull: add new options ignore_buildable, include_deps, and services; fix service CLI for docker_compose_v2 module ( #942 )
...
* Add new options for --ignore-buildable, --include-deps, and for providing services.
* Add services after -- and not before.
2024-07-25 20:47:32 +02:00
Felix Fontein
45b2531129
docker_compose_v2* modules: use --progress json for Compose 2.29.0+ ( #931 )
...
* Use --progress json for Compose 2.29.0+.
* Add changelog fragment.
* Fix/improve handling of warnings.
* Improve parsing of warnings and some one-off messages.
* Improve warnings.
* Handle tail messages.
* Fix bug in regular event parsing.
2024-07-25 18:33:42 +02:00
Felix Fontein
ebec16d42c
Handle network_mode=default correctly for Docker 26.1.0+. ( #936 )
2024-07-25 18:30:12 +02:00
Felix Fontein
2ddadf1e2b
docker_container: pass networks to Daemon on container creation ( #933 )
...
* Pass networks to Daemon on container creation.
* Restore old behavior, and only provide all networks on creation for API 1.44+.
2024-07-23 17:34:26 +02:00
Felix Fontein
22bbfbaf8b
CLI modules: improve docker version/info output processing, avoid querying for API version if it's not needed ( #935 )
...
* Don't assume that docker version/info JSON output contains the expected fields.
* Allow CLI modules to not require the API version.
* Add changelog fragment.
2024-07-20 15:51:02 +02:00
Felix Fontein
4b7e74b75e
docker_container: allow to wait for a container to become healthy ( #921 )
...
* Allow to wait for a container to become healthy.
* Improve wording.
Co-authored-by: Don Naro <dnaro@redhat.com>
* Improve explanation.
---------
Co-authored-by: Don Naro <dnaro@redhat.com>
2024-07-09 20:07:00 +02:00
Felix Fontein
6fcbd34e23
Prevent infinite loop. ( #922 )
2024-07-07 23:18:58 +02:00
Felix Fontein
259f2cf8b7
Fix docker_compose_v2 example. ( #917 )
2024-07-06 21:20:13 +02:00
Felix Fontein
48c0cdf2c5
Imporve parsing of skipped messages. ( #916 )
2024-07-06 21:10:39 +02:00
Ethan Williams
e2f93a0c66
fix mis-named keys and invalid values in copy into example ( #915 )
2024-07-06 20:55:12 +02:00
Fran Jurinec
9b5dbd4543
Add support from device_cgroup_rules parameter ( #910 )
2024-07-04 09:51:32 +02:00
Felix Fontein
7fe2f57951
'alternatives' is now required.
2024-07-04 08:01:06 +02:00
Felix Fontein
81cabbf697
CI: Run some tests with the latest development versions of Docker SDK for Python, requests, and urllib3 ( #902 )
...
* Run some tests with the latest development versions of Docker SDK for Python, requests, and urllib3.
* Use LooseVersion instead of StrictVersion to parse urllib3 versions.
2024-06-29 18:57:08 +02:00
Felix Fontein
ad9d362336
Make docker_host and cli_context mutually exclusive. ( #895 )
2024-06-28 22:26:34 +02:00
Felix Fontein
36dcb94b39
Document host-gateway. ( #897 )
2024-06-28 17:03:32 +02:00
Felix Fontein
4cac2ac021
Make sure that one of project_src and definition is provided. ( #886 )
2024-06-16 21:49:20 +02:00
Felix Fontein
691bc6de72
Docker Compose v1 tests: restrict API version to 1.44 if default API version is 1.45+ ( #881 )
...
* Restrict API version to 1.44 if default API version is 1.45+.
* Set COMPOSE_API_VERSION if api_version is provided.
* Add changelog.
2024-06-14 08:02:12 +02:00