# \#go

**URL:** https://forums.docker.com/tag/go/119.md

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

---

## [How to properly use docker/compose/v2 API in Go (Golang) code?](https://forums.docker.com/t/how-to-properly-use-docker-compose-v2-api-in-go-golang-code/146329)

<div class="topic-metadata">

**Author:** [@paskozdilar](https://forums.docker.com/u/paskozdilar)\
**Replies:** 7\
**Last updated:** [October 17, 2025, 2:22am UTC](https://forums.docker.com/t/how-to-properly-use-docker-compose-v2-api-in-go-golang-code/146329 "2025-10-17T02:22:58Z")

</div>

Hi everyone, I’m trying to build a high-level tool on top of docker compose using Go. I’m trying to figure out how to setup a docker compose client in the same manner that docker compose command does it. This is my se…

---

## [Is there any way to share the host IP in windows docker container?](https://forums.docker.com/t/is-there-any-way-to-share-the-host-ip-in-windows-docker-container/146128)

<div class="topic-metadata">

**Author:** [@nigiwen](https://forums.docker.com/u/nigiwen)\
**Replies:** 0\
**Last updated:** [January 16, 2025, 6:22am UTC](https://forums.docker.com/t/is-there-any-way-to-share-the-host-ip-in-windows-docker-container/146128 "2025-01-16T06:22:28Z")

</div>

When I use host mode, the container will still generate its own virtual network card, and it will not use the host machine’s
