How do I change network subnets? #383
|
OrbStack subnets used for bridges conflict with my employer's subnets when connected to VPN. How can I change subnets used by OrbStack to create bridges for Docker and VMs? |
Replies: 2 comments 1 reply
|
You can change Docker subnets with the standard Docker This config will create networks like 100.100.0.x, 100.100.1.x, and so on. Then recreate Docker Compose networks with 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 between bridges (if enabled) and VPNs. Would you mind giving a try first? It should no longer be necessary to disable the feature when there are IP conflicts. |

You can change Docker subnets with the standard Docker
default-address-poolssetting. For example, paste the following intoorb config dockeror the Docker settings tab: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 upfor 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…