diff --git a/docs/faq.md b/docs/faq.md index af8d0e16f..b82905bd2 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -139,6 +139,10 @@ If you want to change the behavior of the mounts, that will also require [additi New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow ``` +#### **Q: Can I map `host.docker.internal` to `host-gateway` with the flag `--add-host`? + +**A:** No. The special value `host-gateway` is something Docker Desktop specific and is not supported in Rancher Desktop yet. However, you can access services running on the host machine from within a container via `host.docker.internal` without passing the `--add-host` flag. + #### **Q: I don't need the Kubernetes cluster deployed by Rancher Desktop; how do I disable it to save resources?** diff --git a/versioned_docs/version-1.14/faq.md b/versioned_docs/version-1.14/faq.md index af8d0e16f..b82905bd2 100644 --- a/versioned_docs/version-1.14/faq.md +++ b/versioned_docs/version-1.14/faq.md @@ -139,6 +139,10 @@ If you want to change the behavior of the mounts, that will also require [additi New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow ``` +#### **Q: Can I map `host.docker.internal` to `host-gateway` with the flag `--add-host`? + +**A:** No. The special value `host-gateway` is something Docker Desktop specific and is not supported in Rancher Desktop yet. However, you can access services running on the host machine from within a container via `host.docker.internal` without passing the `--add-host` flag. + #### **Q: I don't need the Kubernetes cluster deployed by Rancher Desktop; how do I disable it to save resources?** diff --git a/versioned_docs/version-latest/faq.md b/versioned_docs/version-latest/faq.md index af8d0e16f..b82905bd2 100644 --- a/versioned_docs/version-latest/faq.md +++ b/versioned_docs/version-latest/faq.md @@ -139,6 +139,10 @@ If you want to change the behavior of the mounts, that will also require [additi New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow ``` +#### **Q: Can I map `host.docker.internal` to `host-gateway` with the flag `--add-host`? + +**A:** No. The special value `host-gateway` is something Docker Desktop specific and is not supported in Rancher Desktop yet. However, you can access services running on the host machine from within a container via `host.docker.internal` without passing the `--add-host` flag. + #### **Q: I don't need the Kubernetes cluster deployed by Rancher Desktop; how do I disable it to save resources?**