# \#deployment

**URL:** https://forums.docker.com/tag/deployment/148.md

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

---

## [Container in network\_mode:host using depends\_on linked/service:host-container](https://forums.docker.com/t/container-in-network-mode-host-using-depends-on-linked-service-host-container/152237)

<div class="topic-metadata">

**Author:** [@ffaabbzz](https://forums.docker.com/u/ffaabbzz)\
**Replies:** 7\
**Last updated:** [August 16, 2026, 8:30pm UTC](https://forums.docker.com/t/container-in-network-mode-host-using-depends-on-linked-service-host-container/152237 "2026-08-16T20:30:57Z")

</div>

I have a container that needs network\_mode: host because of clientIP’s that I need to be able to get and not always the XFF headers are there. That same container needs to connect to a backend that needs to be up first …

---

## [Issues deploying Swarm Service with a command](https://forums.docker.com/t/issues-deploying-swarm-service-with-a-command/146611)

<div class="topic-metadata">

**Author:** [@shootinputin89](https://forums.docker.com/u/shootinputin89)\
**Replies:** 6\
**Last updated:** [February 15, 2025, 5:03am UTC](https://forums.docker.com/t/issues-deploying-swarm-service-with-a-command/146611 "2025-02-15T05:03:16Z")

</div>

Hello, I am currently in the process of moving from local docker containers to Docker Swarm. I use Ansible docker modules to deploy my containers and this has worked great. I am now using the Docker Swarm Ansible module…
