# Build Production Galaxy Image

**URL:** <https://forum.ansible.com/t/build-production-galaxy-image/41719>\
**Category:** Get Help\
**Tags:** galaxy-ng\
**Created:** [April 14, 2025, 3:55pm UTC](https://forum.ansible.com/t/build-production-galaxy-image/41719 "2025-04-14T15:55:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrewDi](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andrewdi/32/8090_2.png) [@AndrewDi](https://forum.ansible.com/u/AndrewDi)\
**Post date:** [April 14, 2025, 3:55pm UTC](https://forum.ansible.com/t/build-production-galaxy-image/41719/1 "2025-04-14T15:55:40Z")

</div>

\*\* How to build production galaxy docker image,not only for dev  
\*\* How to build ansible-ui docker image

---

<div class="post-metadata">

**Author:** ![iwt-cmd](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iwt-cmd/32/9120_2.png) [@iwt-cmd](https://forum.ansible.com/u/iwt-cmd)\
**Post date:** [April 16, 2025, 1:19pm UTC](https://forum.ansible.com/t/build-production-galaxy-image/41719/2 "2025-04-16T13:19:18Z")

</div>

Hi @AndrewDi

Are you able to put some more details like any issues you’re facing, what use case you’re trying to accomplish or any build guides that you’re following?

Best regards,

Joe

---

<div class="post-metadata">

**Author:** ![Ljones](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ljones/32/3000_2.png) [@Ljones](https://forum.ansible.com/u/Ljones)\
**Post date:** [April 16, 2025, 2:42pm UTC](https://forum.ansible.com/t/build-production-galaxy-image/41719/3 "2025-04-16T14:42:01Z")

</div>

Hello all!

I have a problem too. I am traying to deploy de galaxy-operator into a kubernetes environment (k3s).  
when the content and api pods try to start i see the next error:

```auto
[2025-04-16 14:33:03 +0000] [1] [INFO] Starting gunicorn 23.0.0
[2025-04-16 14:33:03 +0000] [1] [ERROR] connection to ('::', 24816) failed: [Errno 97] Address family not supported by protocol
[2025-04-16 14:33:04 +0000] [1] [ERROR] connection to ('::', 24816) failed: [Errno 97] Address family not supported by protocol
[2025-04-16 14:33:05 +0000] [1] [ERROR] connection to ('::', 24816) failed: [Errno 97] Address family not supported by protocol
[2025-04-16 14:33:06 +0000] [1] [ERROR] connection to ('::', 24816) failed: [Errno 97] Address family not supported by protocol
[2025-04-16 14:33:07 +0000] [1] [ERROR] connection to ('::', 24816) failed: [Errno 97] Address family not supported by protocol
[2025-04-16 14:33:08 +0000] [1] [ERROR] Can't connect to ('::', 24816)

```

I note that the galaxy-ng image was build recently and one of the changes are in the scripts docker/bin/start-content-app and docker/bin/start-api. [Adding healthcheck to the dev env (#2539) · ansible/galaxy\_ng@f8093b8 · GitHub](https://github.com/ansible/galaxy_ng/commit/f8093b8263dc92fd3ae375e5883d63354eef9f59)

any have idea if i can force that use ipv4 instead ipv6 ?

Regards and sorry for my english.  
Lucas

---

<div class="post-metadata">

**Author:** ![AndrewDi](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/andrewdi/32/8090_2.png) [@AndrewDi](https://forum.ansible.com/u/AndrewDi)\
**Post date:** [April 16, 2025, 3:26pm UTC](https://forum.ansible.com/t/build-production-galaxy-image/41719/4 "2025-04-16T15:26:18Z")

</div>

I could not find any production dockerfile to build, is there any clues?
