Skip to content

How do I change network subnets? #383

Answered by kdrag0n
robertmircea asked this question in Q&A
Discussion options

You must be logged in to vote

You can change Docker subnets with the standard Docker default-address-pools setting. For example, paste the following into orb config docker or the Docker settings tab:

{
    "default-address-pools": [
        {"base": "100.100.0.0/16", "size": 24}
    ]
}

This config will create networks like 100.100.0.x, 100.100.1.x, and so on.

Then recreate Docker Compose networks with docker compose down && docker compose up for it to take effect. You can also disable the bridges in OrbStack's Network settings.

The subnet for Linux machines isn't currently customizable, but you can subscribe to #218 for updates. It's not in the 172.x block.

We've just released v0.13.0 which improves compatibility be…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kdrag0n
Comment options

You must be logged in to vote
1 reply
@kdrag0n
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants