# \#docker

**URL:** https://forum.ansible.com/tag/docker/227.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Execution Environment from docs doesn't install Python in container](https://forum.ansible.com/t/execution-environment-from-docs-doesnt-install-python-in-container/46272)

<div class="topic-metadata">

**Author:** [@EmersonPrado](https://forum.ansible.com/u/EmersonPrado)\
**Replies:** 12\
**Last updated:** [September 14, 2026, 6:27pm UTC](https://forum.ansible.com/t/execution-environment-from-docs-doesnt-install-python-in-container/46272 "2026-09-14T18:27:55Z")

</div>

Hi all! I tried to set up an Execution Environment following the official articles Setting up your environment and Building your first Execution Environment, but the builder command fails (not all lines shown): ansible…

---

## [Ansible playbook for hardening a Docker host](https://forum.ansible.com/t/ansible-playbook-for-hardening-a-docker-host/46123)

<div class="topic-metadata">

**Author:** [@jezmn](https://forum.ansible.com/u/jezmn)\
**Replies:** 4\
**Last updated:** [September 11, 2026, 5:35am UTC](https://forum.ansible.com/t/ansible-playbook-for-hardening-a-docker-host/46123 "2026-09-11T05:35:56Z")

</div>

Hi, I’ve been wanting to automate the server setup I usually do manually on fresh ubuntu server for a while now. Repetitive stuff like SSH hardening, Docker setup, firewall rules, fail2ban, etc. Figured it was time to j…

---

## [molecule login in docker containers using ansible native inventories](https://forum.ansible.com/t/molecule-login-in-docker-containers-using-ansible-native-inventories/46196)

<div class="topic-metadata">

**Author:** [@Marauder](https://forum.ansible.com/u/Marauder)\
**Replies:** 0\
**Last updated:** [August 20, 2026, 1:54pm UTC](https://forum.ansible.com/t/molecule-login-in-docker-containers-using-ansible-native-inventories/46196 "2026-08-20T13:54:17Z")

</div>

I am trying to wrap my head around the ansible native inventory in molecule. Currently I am developing a new ansible role and wanted to use the results as template for roles that currently are still in pre-native setup. …

---

## [community.general.tss lookup fails inside Docker (Semaphore)](https://forum.ansible.com/t/community-general-tss-lookup-fails-inside-docker-semaphore/46029)

<div class="topic-metadata">

**Author:** [@Tydeluz](https://forum.ansible.com/u/Tydeluz)\
**Replies:** 2\
**Last updated:** [July 14, 2026, 2:31pm UTC](https://forum.ansible.com/t/community-general-tss-lookup-fails-inside-docker-semaphore/46029 "2026-07-14T14:31:23Z")

</div>

Hello, Environment: Ansible Controller Host: Ubuntu / Debian Automation Platform: Semaphore running inside a Docker container Secret Server: On-Premise Plugin: community.general.tss I am facing a strange a…

---

## [AWX 24.6.1 – \`make docker-compose-build\` Fails During dnf Install Step](https://forum.ansible.com/t/awx-24-6-1-make-docker-compose-build-fails-during-dnf-install-step/45466)

<div class="topic-metadata">

**Author:** [@noor](https://forum.ansible.com/u/noor)\
**Replies:** 8\
**Last updated:** [March 20, 2026, 6:56pm UTC](https://forum.ansible.com/t/awx-24-6-1-make-docker-compose-build-fails-during-dnf-install-step/45466 "2026-03-20T18:56:03Z")

</div>

Building AWX version 24.6.1 from source using Docker fails during the image build phase when running: make docker-compose-build The failure occurs during the dnf install step inside the container build process. This i…

---

## [Ansible n00b needs help to transfer dockercompose.yml to Playbook](https://forum.ansible.com/t/ansible-n00b-needs-help-to-transfer-dockercompose-yml-to-playbook/45231)

<div class="topic-metadata">

**Author:** [@frakk](https://forum.ansible.com/u/frakk)\
**Replies:** 1\
**Last updated:** [January 31, 2026, 3:19pm UTC](https://forum.ansible.com/t/ansible-n00b-needs-help-to-transfer-dockercompose-yml-to-playbook/45231 "2026-01-31T15:19:29Z")

</div>

Hello to everybody! I’m failry new to Ansible. Reading a lot (I mean, a lot) and this is just a hobby project, so I’m not an expert by any means. What I would like to acomplish is to do an Ansible Playbook automation f…

---

## [Assigning IPv6 Port Mapping in docker\_container leads to replacement with DEFAULT\_IP\_REPLACEMENT\_STRING](https://forum.ansible.com/t/assigning-ipv6-port-mapping-in-docker-container-leads-to-replacement-with-default-ip-replacement-string/44913)

<div class="topic-metadata">

**Author:** [@simonh1005](https://forum.ansible.com/u/simonh1005)\
**Replies:** 2\
**Last updated:** [November 30, 2025, 4:09pm UTC](https://forum.ansible.com/t/assigning-ipv6-port-mapping-in-docker-container-leads-to-replacement-with-default-ip-replacement-string/44913 "2025-11-30T16:09:29Z")

</div>

Dear Community, Context of my situation: I am trying to deploy a DNS-server as docker container using ansible and the docker\_container module. The Setup is running since years, but now I am trying to extend it by IPv6.…

---

## [Push radius configuration via playbook](https://forum.ansible.com/t/push-radius-configuration-via-playbook/44359)

<div class="topic-metadata">

**Author:** [@noahd320](https://forum.ansible.com/u/noahd320)\
**Replies:** 2\
**Last updated:** [August 27, 2025, 12:59pm UTC](https://forum.ansible.com/t/push-radius-configuration-via-playbook/44359 "2025-08-27T12:59:32Z")

</div>

I have ansible running on a docker container on my companies air gapped system. I want to push our radius configuration to all of the switches via a playbook however I am having no luck searching this up online. I found…

---

## [Ansible.builtin.pause failing Inappropriate ioctl for device](https://forum.ansible.com/t/ansible-builtin-pause-failing-inappropriate-ioctl-for-device/44328)

<div class="topic-metadata">

**Author:** [@xiao\_shen](https://forum.ansible.com/u/xiao_shen)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 4:55pm UTC](https://forum.ansible.com/t/ansible-builtin-pause-failing-inappropriate-ioctl-for-device/44328 "2025-08-19T16:55:51Z")

</div>

When I try to run a playbook with ansible.builtin.pause through docker run -t with github runner workflow. It returns error with {"msg": "\[Errno 25\] Inappropriate ioctl for device"} I did search that I need to pass in…

---

## [Ansible Invalid response from docker daemon: key \\"ApiVersion\\" is missing](https://forum.ansible.com/t/ansible-invalid-response-from-docker-daemon-key-apiversion-is-missing/41092)

<div class="topic-metadata">

**Author:** [@seetharam](https://forum.ansible.com/u/seetharam)\
**Replies:** 4\
**Last updated:** [April 11, 2025, 8:56am UTC](https://forum.ansible.com/t/ansible-invalid-response-from-docker-daemon-key-apiversion-is-missing/41092 "2025-04-11T08:56:43Z")

</div>

Hi, While trying to deploy docker container we are facing: FAILED! =\> {“changed”: false, “msg”: “Error connecting: Invalid response from docker daemon: key "ApiVersion" is missing.”} Please give some suggestions if an…

---

## [Conflicts while building AWX-EE custom image](https://forum.ansible.com/t/conflicts-while-building-awx-ee-custom-image/2616)

<div class="topic-metadata">

**Author:** [@motorbass](https://forum.ansible.com/u/motorbass)\
**Replies:** 21\
**Last updated:** [April 3, 2025, 9:43pm UTC](https://forum.ansible.com/t/conflicts-while-building-awx-ee-custom-image/2616 "2025-04-03T21:43:00Z")

</div>

I’m currently building AWX EE custom image with the latest available but it seems latest versions got some conflicts with pip modules. My custom image was working great in July (awx-ee version 22.X 23.X) I used to set c…

---

## [Ansible ping module fails "read header failed: Broken pipe" "Received exit status from master 1"](https://forum.ansible.com/t/ansible-ping-module-fails-read-header-failed-broken-pipe-received-exit-status-from-master-1/39366)

<div class="topic-metadata">

**Author:** [@ankujghosh](https://forum.ansible.com/u/ankujghosh)\
**Replies:** 3\
**Last updated:** [March 17, 2025, 6:21pm UTC](https://forum.ansible.com/t/ansible-ping-module-fails-read-header-failed-broken-pipe-received-exit-status-from-master-1/39366 "2025-03-17T18:21:54Z")

</div>

Ansible ping module fails “read header failed: Broken pipe” “Received exit status from master 1”. Practicing ansible, and trying to using ping module from a Jenkins container and its FAILED test1 | FAILED! =\> { "an…

---

## [Update Awx on docker from 17.1.0 release](https://forum.ansible.com/t/update-awx-on-docker-from-17-1-0-release/5168)

<div class="topic-metadata">

**Author:** [@Marianna\_Buffa](https://forum.ansible.com/u/Marianna_Buffa)\
**Replies:** 1\
**Last updated:** [February 3, 2025, 5:43am UTC](https://forum.ansible.com/t/update-awx-on-docker-from-17-1-0-release/5168 "2025-02-03T05:43:17Z")

</div>

Hi all, i installed Awx ansible on a VM with RHEL 8 using a docker installation of 17.1.0 awx version. I use it succefully and daily for patching other VM’s. I write you here to ask a question: if i upgrade awx versi…

---

## [Docker Failed to find required executable "%s](https://forum.ansible.com/t/docker-failed-to-find-required-executable-s/39914)

<div class="topic-metadata">

**Author:** [@cpoles](https://forum.ansible.com/u/cpoles)\
**Replies:** 4\
**Last updated:** [January 29, 2025, 11:40pm UTC](https://forum.ansible.com/t/docker-failed-to-find-required-executable-s/39914 "2025-01-29T23:40:18Z")

</div>

What I am trying to do: Create a docker image so that I can use docker to run playbooks. What my problem is: Ansible cannot find the executable for the ansible.posix.synchronize module I am using in my playbook. Note,…

---

## [AWX unable to run Playbook](https://forum.ansible.com/t/awx-unable-to-run-playbook/10487)

<div class="topic-metadata">

**Author:** [@echeren](https://forum.ansible.com/u/echeren)\
**Replies:** 3\
**Last updated:** [October 24, 2024, 8:13pm UTC](https://forum.ansible.com/t/awx-unable-to-run-playbook/10487 "2024-10-24T20:13:11Z")

</div>

\*\*HI, I am relatively new to Ansible / AWX and I have a new install of AWX on minikube. i was able to connect to my git repo and synced successfully, I was also able to add host credentials and add a host. however, when…

---

## [Setting a mac address in a docker\_container](https://forum.ansible.com/t/setting-a-mac-address-in-a-docker-container/7315)

<div class="topic-metadata">

**Author:** [@bdeluca](https://forum.ansible.com/u/bdeluca)\
**Replies:** 10\
**Last updated:** [July 20, 2024, 8:06am UTC](https://forum.ansible.com/t/setting-a-mac-address-in-a-docker-container/7315 "2024-07-20T08:06:19Z")

</div>

Hi!, new to ansible taking over some one elses work, and I am having some difficulty setting a mac address in a docker container tasks. Whilst code I am working with is much compex, I have made this simplier version th…

---

## [CRITICAL Driver 'docker' from state-file '/Users/\<myusername\>/.cache/molecule/ansible-role-logrotate/default/state.yml' is not available](https://forum.ansible.com/t/critical-driver-docker-from-state-file-users-myusername-cache-molecule-ansible-role-logrotate-default-state-yml-is-not-available/5979)

<div class="topic-metadata">

**Author:** [@danrough](https://forum.ansible.com/u/danrough)\
**Replies:** 9\
**Last updated:** [July 17, 2024, 8:35pm UTC](https://forum.ansible.com/t/critical-driver-docker-from-state-file-users-myusername-cache-molecule-ansible-role-logrotate-default-state-yml-is-not-available/5979 "2024-07-17T20:35:50Z")

</div>

Hello. I’ve cloned a galaxy role that I would like to add a feature to. The role is supported by a suite of tests, run using molecule. I am having problems installing/configuring the docker driver, despite following vari…

---

## [In ansible awx how to separate db from the docker container](https://forum.ansible.com/t/in-ansible-awx-how-to-separate-db-from-the-docker-container/7222)

<div class="topic-metadata">

**Author:** [@Krishna\_Koushik](https://forum.ansible.com/u/Krishna_Koushik)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 7:39pm UTC](https://forum.ansible.com/t/in-ansible-awx-how-to-separate-db-from-the-docker-container/7222 "2024-07-17T19:39:40Z")

</div>

In ansible awx by default database is running in the container, i do not want to run the db in the docker container, i want to use external db connection. I tried connecting to external db, it is connected and working. W…

---

## [The Bullhorn #145](https://forum.ansible.com/t/the-bullhorn-145/7281)

<div class="topic-metadata">

**Author:** [@Leo](https://forum.ansible.com/u/Leo)\
**Replies:** 0\
**Last updated:** [July 15, 2024, 3:37pm UTC](https://forum.ansible.com/t/the-bullhorn-145/7281 "2024-07-15T15:37:00Z")

</div>

This week in Ansible community Issue #145, 2024-07-15 (Past Issues) Welcome to The Bullhorn, our newsletter for the Ansible community. If you have any questions or content you’d like to share, you’re welcome to chat …

---

## [Ansible dynamic inventory is not able to pull azure vms, please help.](https://forum.ansible.com/t/ansible-dynamic-inventory-is-not-able-to-pull-azure-vms-please-help/6790)

<div class="topic-metadata">

**Author:** [@Anupam\_Roy](https://forum.ansible.com/u/Anupam_Roy)\
**Replies:** 1\
**Last updated:** [June 27, 2024, 12:35pm UTC](https://forum.ansible.com/t/ansible-dynamic-inventory-is-not-able-to-pull-azure-vms-please-help/6790 "2024-06-27T12:35:09Z")

</div>

Ansible dynamic inventory is not able to pull azure vms, please help. we have a ansible controller integrated with azure devops pipeline which is dynamically pulling the Azure VMs using azure\_rm Azure Resource Manager i…

---

## [In \`community.docker\` collection what is the equivalent way of \`docker ps\` i.e., getting running containers on a device?](https://forum.ansible.com/t/in-community-docker-collection-what-is-the-equivalent-way-of-docker-ps-i-e-getting-running-containers-on-a-device/5926)

<div class="topic-metadata">

**Author:** [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Replies:** 3\
**Last updated:** [May 22, 2024, 5:36pm UTC](https://forum.ansible.com/t/in-community-docker-collection-what-is-the-equivalent-way-of-docker-ps-i-e-getting-running-containers-on-a-device/5926 "2024-05-22T17:36:21Z")

</div>

I am aware of community.docker.docker\_container\_info where one can mention the name of the container and obtain information about it. However I cannot find any information on what is the equivalent to obtaining a list of…

---

## [How to pass ENVIRONMENT VARIABLES to ansible-test integration --docker](https://forum.ansible.com/t/how-to-pass-environment-variables-to-ansible-test-integration-docker/3141)

<div class="topic-metadata">

**Author:** [@sumanth-lingappa](https://forum.ansible.com/u/sumanth-lingappa)\
**Replies:** 6\
**Last updated:** [May 12, 2024, 2:36pm UTC](https://forum.ansible.com/t/how-to-pass-environment-variables-to-ansible-test-integration-docker/3141 "2024-05-12T14:36:18Z")

</div>

How to pass ENVIRONMENT VARIABLES to ansible-test integration --docker. I am writing integration tests for netscaler.adc collection. This collection is a collection of modules to configure the NetScaler ADC via API (ea…

---

## [Ansible-navigator and docker with "Isolate containers with a user namespace"](https://forum.ansible.com/t/ansible-navigator-and-docker-with-isolate-containers-with-a-user-namespace/5119)

<div class="topic-metadata">

**Author:** [@powdermouse](https://forum.ansible.com/u/powdermouse)\
**Replies:** 0\
**Last updated:** [April 24, 2024, 2:18pm UTC](https://forum.ansible.com/t/ansible-navigator-and-docker-with-isolate-containers-with-a-user-namespace/5119 "2024-04-24T14:18:11Z")

</div>

Hi, we use ansible-navigator with docker. Is it possible to use ansible-navigator with docker setting “Isolate containers with a user namespace” (“userns-remap”: “default”). If so, how exactly? If in the /etc/docker…

---

## [Best Practices - Docker Compose Up vs Ansible Container Module](https://forum.ansible.com/t/best-practices-docker-compose-up-vs-ansible-container-module/1902)

<div class="topic-metadata">

**Author:** [@Con1924](https://forum.ansible.com/u/Con1924)\
**Replies:** 6\
**Last updated:** [April 23, 2024, 10:36pm UTC](https://forum.ansible.com/t/best-practices-docker-compose-up-vs-ansible-container-module/1902 "2024-04-23T22:36:49Z")

</div>

Hi, Looking for some best practice advice. I am deploying multiple docker compose stacks wit a few containers. Grafana, influxdb, nodered, mqtt ect. Is it generally considered better to add a docker compose file to my …

---

## [Challenges with Docker Commands in AWX Custom Execution Environment on Amazon EKS](https://forum.ansible.com/t/challenges-with-docker-commands-in-awx-custom-execution-environment-on-amazon-eks/4712)

<div class="topic-metadata">

**Author:** [@alvaroc20](https://forum.ansible.com/u/alvaroc20)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 1:10pm UTC](https://forum.ansible.com/t/challenges-with-docker-commands-in-awx-custom-execution-environment-on-amazon-eks/4712 "2024-04-10T13:10:51Z")

</div>

Hi, I’m facing a challenge with running Docker commands inside a custom execution environment in AWX (version 24.0.0), deployed on Amazon EKS via the awx-operator. Specifically, I’m trying to use the docker\_container mo…

---

## [Creating a docker image for execution environment AWX fails at Ansible-galaxy step](https://forum.ansible.com/t/creating-a-docker-image-for-execution-environment-awx-fails-at-ansible-galaxy-step/4817)

<div class="topic-metadata">

**Author:** [@SaravanaSelvaraj](https://forum.ansible.com/u/SaravanaSelvaraj)\
**Replies:** 10\
**Last updated:** [April 10, 2024, 6:21am UTC](https://forum.ansible.com/t/creating-a-docker-image-for-execution-environment-awx-fails-at-ansible-galaxy-step/4817 "2024-04-10T06:21:26Z")

</div>

docker build fails while running ansible-galaxy in the dockerfile. Hello community please help me out here, I am trying to build a custom image from AWX-EE image using my dockerfile and it throws error the below error …

---

## [Community.docker.docker\_compose](https://forum.ansible.com/t/community-docker-docker-compose/3519)

<div class="topic-metadata">

**Author:** [@RoFrie](https://forum.ansible.com/u/RoFrie)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 6:25am UTC](https://forum.ansible.com/t/community-docker-docker-compose/3519 "2024-01-30T06:25:35Z")

</div>

all this is based on a German computer magazine: c’t 2024, Heft 1 … using community.docker.docker\_compose with: - name: "{{ docker\_compose\_params.command }}: docker compose '{{ service\_cfg.name }}/docker-compose.yml'"…

---

## [Interacting with the Docker Hub API using the ansible.builtin.uri module](https://forum.ansible.com/t/interacting-with-the-docker-hub-api-using-the-ansible-builtin-uri-module/3487)

<div class="topic-metadata">

**Author:** [@chris](https://forum.ansible.com/u/chris)\
**Replies:** 6\
**Last updated:** [January 27, 2024, 6:00pm UTC](https://forum.ansible.com/t/interacting-with-the-docker-hub-api-using-the-ansible-builtin-uri-module/3487 "2024-01-27T18:00:06Z")

</div>

I trying to get a list of Docker images tags from Docker Hub using Ansible, this is how it works using curl: curl --silent --get --data-urlencode "service=registry.docker.io" \\ --data-urlencode "scope=repository:onlyoff…

---

## [Rolloing out awx behind a proxy](https://forum.ansible.com/t/rolloing-out-awx-behind-a-proxy/3289)

<div class="topic-metadata">

**Author:** [@Dinkelzoid](https://forum.ansible.com/u/Dinkelzoid)\
**Replies:** 5\
**Last updated:** [January 17, 2024, 7:56pm UTC](https://forum.ansible.com/t/rolloing-out-awx-behind-a-proxy/3289 "2024-01-17T19:56:36Z")

</div>

Hello, I am currently trying to roll out a docker test installation of awx behind a proxy. So for the installation to finish stage 10/34 should finish. It can not connect to the internet, thanks to the proxy we are usin…

---

## [Molecule with Docker on Mac M2 causes Com.apple.Virtualization.VirtualMachine crashed when gather\_facts is enabled](https://forum.ansible.com/t/molecule-with-docker-on-mac-m2-causes-com-apple-virtualization-virtualmachine-crashed-when-gather-facts-is-enabled/2902)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 7\
**Last updated:** [December 15, 2023, 5:07pm UTC](https://forum.ansible.com/t/molecule-with-docker-on-mac-m2-causes-com-apple-virtualization-virtualmachine-crashed-when-gather-facts-is-enabled/2902 "2023-12-15T17:07:03Z")

</div>

I’m running a Molecule test against a container running in Docker Desktop locally. When I set gather\_facts to true in converge.yml Docker crashes hard with the error Com.apple.Virtualization.VirtualMachine crashed coveri…

[Next page](https://forum.ansible.com/tag/docker/227.md?match_all_tags=true&page=1&tags%5B%5D=docker)
