docker-host is a Docker sidecar container that forwards traffic from containers to the local Docker host or another configured host. It is useful in environments where containers need to reach services running on the host machine, especially when direct host networking is unavailable or inconsistent across platforms. The project creates a predictable network alias, commonly used as docker-host, so other containers can connect through a stable name. It supports TCP and UDP traffic forwarding examples and can be used inside custom Docker networks or Docker Compose setups. The container requires network-related capabilities such as NET_ADMIN and NET_RAW so it can handle forwarding behavior. Its main value is simplifying host access from containers without forcing each application container to include custom routing logic.

Features

  • Docker sidecar for host traffic forwarding
  • Access to local Docker host from containers
  • Custom Docker network support
  • TCP and UDP forwarding examples
  • Docker Compose-compatible service pattern
  • Small utility container with network capability requirements

Project Samples

Project Activity

See All Activity >

Categories

Tunneling

License

MIT License

Follow docker-host

docker-host Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of docker-host!

Additional Project Details

Operating Systems

Linux, Mac

Registered

2 days ago