Skip to content

Changes for a proper work of Upstream SOCKS5 with docker-compose (eg. WARP outbound).#187

Open
dreawer wants to merge 2 commits into
masterking32:mainfrom
dreawer:main
Open

Changes for a proper work of Upstream SOCKS5 with docker-compose (eg. WARP outbound).#187
dreawer wants to merge 2 commits into
masterking32:mainfrom
dreawer:main

Conversation

@dreawer

@dreawer dreawer commented Jun 9, 2026

Copy link
Copy Markdown

Changes for a proper work of Upstream SOCKS5 with docker-compose (eg. WARP outbound).

dreawer added 2 commits June 9, 2026 14:31
Changes for a proper work of Upstream SOCKS5 (eg. WARP outbound).
Changes for a proper work of Upstream SOCKS5 with docker-compose (eg. WARP outbound).
@dreawer dreawer changed the title Update README.MD Changes for a proper work of Upstream SOCKS5 with docker-compose (eg. WARP outbound). Jun 9, 2026
@masterking32 masterking32 requested a review from Copilot June 9, 2026 15:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the provided docker-compose examples to run the container with host networking, aiming to make upstream SOCKS5 chaining work reliably in Docker Compose setups (e.g., WARP outbound scenarios).

Changes:

  • Switched the README docker-compose example from explicit ports: mapping to network_mode: host.
  • Switched docker/docker-compose.yml from explicit ports: mapping to network_mode: host.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
README.MD Updates the documented docker-compose example to use host networking instead of port publishing.
docker/docker-compose.yml Updates the sample compose file to use host networking instead of port publishing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.MD
ports:
- "53:53/tcp"
- "53:53/udp"
network_mode: host
Comment thread docker/docker-compose.yml
ports:
- "53:53/tcp"
- "53:53/udp"
network_mode: host

@dreawer dreawer Jun 9, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, Copilot, try to make it work this way (with extra host and ports). It will not, i tried. The only way i was able to set the setvice work in docker-compose with WARP outbound is to set network_mode: host. Also i realy doubt this can cause any security issues.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread docker/docker-compose.yml
ports:
- "53:53/tcp"
- "53:53/udp"
network_mode: host
Comment thread README.MD
Comment on lines 319 to +320
- ./data:/data
ports:
- "53:53/tcp"
- "53:53/udp"
network_mode: host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants