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?
|
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
Docker works ok with proposed changes, but the subnets for the Linux machines still cause trouble. There are still overlapped subnets between VPN routed ranges and orbstack's bridges. |
Beta Was this translation helpful? Give feedback.
You can change Docker subnets with the standard Docker
default-address-pools
setting. For example, paste the following intoorb config docker
or 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 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…