Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Routing from host to custom defined docker network is missing #520

Closed

Description

@Rastusik

Describe the bug

I'm using OrbStack 0.15.1, which should already include the feature of making internal docker IP addresses accessible from host. This works correctly when no custom network is define. From what I observed - when starting docker containers from docker compose - a new bridge network is defined and also routing from host mac machine to the created network.

But it seems that this does not happen with custom networks defined in docker-compose. When I define a custom network, no routing rule from mac host machine to the network is defined, so the access to docker container IPs doesn't work.

To Reproduce

The routing does not work with this specific network (I haven't tried other networks yet)

networks:
  default:
    driver: bridge
    name: my.docker.stack
    ipam:
      config:
        - subnet: 10.210.0.0/24

Expected behavior

I should be able to ping containers in the defined network, but it doesn't work

ping 10.210.0.250                                        
PING 10.210.0.250 (10.210.0.250): 56 data bytes
Request timeout for icmp_seq 0

Diagnostic report (required)

OrbStack info:
Version: 0.15.1 (150100)
Commit: d9dbc033855331b22ecd7fb67da89b9ca5fa9d0f (v0.15.1)

System info:
macOS: 13.5 (22G74)
CPU: arm64, 10 cores
CPU model: Apple M1 Pro

Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2023-08-07T08-37-14.908985Z.zip

Screenshots and additional context (optional)

No response

Activity

  1. kdrag0n commented on Aug 7, 2023

    @kdrag0n
    Member

    Fixed for the next version. Thanks for the reproducer!

  2. added this to the v0.15.2 milestone on Aug 7, 2023
  3. Rastusik commented on Aug 7, 2023

    @Rastusik
    Author

    thank you for the prompt reaction! :)

  4. kdrag0n commented on Aug 10, 2023

    @kdrag0n
    Member

    Released in v0.16.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions