community.docker
community.docker copied to clipboard
Community Docker Collection for Ansible: modules and plugins for working with Docker
I described the following ansible tasks. When changing `haproxy.cfg` file, you need to apply it, but at `docker_stack` task the `haproxy.cfg` remains the previous one, although the new one is...
##### SUMMARY Add sysctls options to docker_swarm_service, as discussed in #190 ##### ISSUE TYPE - Feature Pull Request ##### COMPONENT NAME docker_swarm_service ##### ADDITIONAL INFORMATION
##### SUMMARY Right now the old docker_compose module, which relies on Docker Compose v1, is more troublesome to actually test since it neither works with Docker SDK for Python 7+...
##### SUMMARY Fixes #823. ##### ISSUE TYPE - Feature Pull Request ##### COMPONENT NAME docker_compose
##### SUMMARY The `--with-registry-auth` parameter is not exposed in the swarm_service module. It is needed when deploying a service from a private registry. ##### ISSUE TYPE - Feature Idea #####...
##### SUMMARY - Use case Change healthcheck container options while keeping original image test. ex: ``` healthcheck: interval: 1m timeout: 10s start_period: 30s retries: 3 ``` - Actual behavior ```...
##### SUMMARY Pulling from private registry doesn't work after doing docker login ##### ISSUE TYPE - Bug Report ##### COMPONENT NAME `community.docker.docker_login` and `community.docker.docker_compose_v2` / `community.docker.docker_compose_v2_pull module` ##### ANSIBLE VERSION...
I haven't found in docs how to use [files](https://docs.ansible.com/ansible/latest/collections/community/docker/docker_compose_module.html#parameter-files). I try something like ``` User tasks: community.docker.docker_compose: files: - "./mycustom-compose.yml" ``` And get an error like: ERROR! A malformed block...
I am tryting to pass envs to use it like ``` services: rabbit: restart: always image: rabbitmq volumes: - ${DATABASES_FOLDER}/rabbit:/var/lib/rabbitmq ``` I did standard [environment attribute](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_environment.html#setting-the-remote-environment-in-a-task), but it doesn't work...