| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
as docker CLI (#66382)
* Adjust docker_container behavior for one-port container ranges to be similar to docker CLI.
* Add changelog.
* Add documented examples for ports:.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Simplify code.
* Only pass anonymous volumes.
* Add changelog and update porting guide.
* Add integration tests.
|
| |
|
|
|
|
|
|
|
| |
* Add 2 CI groups for AWS.
* Add 1 CI group for vmware.
* Add 1 CI group for CS.
* Add 1 CI group for posix.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for timeout while waiting for state.
* Allow to limit removal wait time.
* Add changelog.
* Forgot version_added.
* Add some check mode tests.
* Use removal_wait_timeout in tests.
|
|
|
|
|
|
|
|
| |
* Add support for --cpus.
* Adjust PR #.
* Add version_added.
|
|
|
|
|
|
|
|
| |
* Deprecate trust_image_content.
* Add changelog.
* Mention it has never been used; removed test stub.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve image finding / change detection.
* Checked wrong object.
* Improve behavior. (Let docker daemon sort this out.)
* Add changelog.
* Add simple test.
* Fix image name.
* Use new docker_image params.
* Rewrite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Specifying IP addresses needs API version 1.22 or newer.
* Simplify code.
* Use IPAMConfig.IPv*Address instead of IPAddress and GlobalIPv6Address.
* Add changelog.
* Fix syntax errors.
* Add integration test.
* Don't rely on netaddr.
* Normalize IPv6 addresses before comparison.
* Install netaddr, and use it.
|
|
|
|
|
|
|
|
| |
* Add mount endpoint collision detection.
* Add changelog.
* Fix error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [WIP][docker_container] Adding support for `mounts` option
Fixes #42054
* Adjusting to current standards.
* Add changelog.
* Adjust types.
* Cleanup.
* Add idempotency checks for mounts.
* Improve diff for mounts.
* Linting.
* Python 2.6 compatibility.
* Fix error message formatting.
* Move mounts and volumes tests into own file.
* Add set of mount tests.
* Golang's omitempty for bool omits false values.
* Simplify sanity checks. Correct order of volume_options sanitization and usage.
* Fix key.
* Fix check.
* Add tests where both volumes and mounts show up.
* Add collision test.
|
|
|
|
|
|
|
|
| |
* Pass IPv6 addresses for port bindings without square brackets.
* Add changelog.
* Add test.
|
|
|
|
| |
Mark dependent container's ipc_mode as shareable
|
|
|
|
|
|
|
|
|
| |
* Mark Docker tests unstable
- docker_swarm is unstable on RHEL 8
- docker_container is unstable on RHEL 7
* Disable docker_container test.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(#56687)
* Fix behavior.
* Add changelog.
* Add simple test to prevent #56620.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [docker] images: add support for lookup by sha256 digest
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [tests] docker image by digest: work on a minimal test case
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* [docker] group branch conditions per lookup
Co-Authored-By: Felix Fontein <felix@fontein.de>
* [misc] add a news fragment for the added digest lookup for docker images
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
|
|
|
|
|
|
| |
* oom_killer and oom_score_adj are available since docker-py 1.8.0.
* Add changelog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#55894)
* Improve container restart.
* Adjust tests.
* Add changelog.
* Quote options.
* Move tests for restart/recreate options to start/stop tests.
* Fix changelog name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#55258)
* General test improvements.
* Adjust tests to older docker-py versions.
* docker_swarm_server_info: work around problems with older docker-py versions
* Bump minimal docker-py version for options network_filters and disk_usage.
* More general test improvements.
* Correct usage of docker_image.
* Put files into output directory.
* Speed up test.
* Remove old check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#54955)
* Warn when log_options values are not strings.
* Add changelog.
* Improve message.
* Improve formatting and formulation of other messages.
* Add test for warning.
* Trying double escaping.
|
|
|
|
| |
This reverts commit affde96fa8390cef23cfe1834992ec97e8dbea7b.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Adding networks_cli_compatible option.
* Move network tests into own test file.
* Extend tests (for networks_cli_compatible=no).
* Adding tests for networks_cli_compatible=yes.
* There seems to be no way to create a container without at least one network attached.
* Integrate networks / purge_networks with comparisons.
* Speed up tests.
* Removing double dot.
* Add changelog.
* Use comparisons value only if the networks option has been specified. purge_networks on the other hand also removes networks if it has not been specified.
|
|
|
|
|
|
|
|
| |
* Rename docker_*_facts -> docker_*_info.
* Add changelog.
* Update scenario guide.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Output warnings from docker daemon on container create and update.
* Accept warning for blkio_weight instead of idempotency.
* Value quoting.
* Avoid loop variable conflict.
* Add changelog.
* Make one test case faster.
* Add 'Docker warning: ' prefix.
* Add a generalized warning reporting function.
|
| |
|
| |
|
|
|
|
|
|
| |
* Simplify docker_*_facts return names.
* Adjust regular return values of modules to match style of docker_*_facts modules.
|
| |
|
|
|
|
|
|
| |
* Try to stop using ansible_facts for docker modules.
* Stop using facts returned from regular modules.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [docker_container] Failing on non-string env values
Fixes #49802
* Clarify failure message
Co-Authored-By: DBendit <David@ibendit.com>
* Fixup from review
|
|
|
| |
Fixes #49794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support for pids_limit parameter in docker_container module
This add pids_limit parameter support in docker_container module
Fixes #43337
Signed-off-by: Akshay <akshay@localhost.localdomain>
* Add changelog for pids_limit parameter
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Remove unnecessary lines of code
The map is needed if the names are different.
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Update pids_limit option tests
It also run for docker-py < 1.10.0
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
* Check minimal API and docker-py versions for all docker_* tests.
* Improve docker_swarm creation/destruction for tests.
* Fail when conditions aren't met.
* Don't hardcode address for advertise_addr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add difference tracking tool
* Improve --diff mode for docker_container.
* Improve diffs of sets by ordering the sets.
* Rewrite imports, get rid of HAS_DOCKER_PY_x variables and use docker_version instead.
* Rename container -> active (more generic).
* Add --diff for docker_volume. Change old diff output.
* Add --diff for docker_network. Change old diff output.
* Add --diff for docker_swarm_service.
* Add changelog.
* Add entry for porting guide on docker_network and docker_volume.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix tests: use same command if not testing command option.
* Fix idempotency of init option.
* Fix shm_size idempotency (it is included in inspect results from docker API version 1.22 on).
* Add changelog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Updating argument_spec for docker_* modules.
* Adjust docker_network to work with new recursive argument_spec.
* Adjust device IO limits to recursive argument_spec.
* Improve test (test Ansible's cast from str to int).
* Adjust healthcheck options construction.
* Remove superfluous check.
* Make flake8 happy.
* Simplify comparison.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Fix ipc_mode and pid_mode idempotency when container names are used.
* Add changelog.
* Update pid_mode documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Store parsed docker-py / docker API versions in client.
* Began refactoring 'minimal required version' for docker_container options.
* Removing some fake defaults.
* Added changelog.
* Improve tests (check older docker versions).
* Fix comparison. The breaking point is not docker-py 2.0.0, but 1.10.0.
(Verified by testing with these versions.)
* Move docker-py/API version detection to setup_docker.
* Add YAML document starter.
* docker_network requirement for docker-py was bumped to 1.10.0 in #47492.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support for device read write limit parameters
* Add following options in docker_container module
- device_read_bps
- device_write_bps
- device_read_iops
- device_write_iops
Fixes #36831
* test for device_read_iops
* combined test for device_write_bps and device_write_iops
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cleanup is already tested.
* Add test for paused.
* Add recreate and restart tests.
* timeout is a common docker option
* Implement paused and fix paused test.
* Add changelog.
* Improve paused test.
|