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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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

3 days ago