}
}
```
{{< /tab >}}
{{< tab name="DNS resolution" >}}
Auto filter:
```json
{
"dnsInhibition": {
"locked": true
"value": "auto"
}
}
```
Filter IPv4:
```json
{
"dnsInhibition": {
"locked": true
"value": "ipv4"
}
}
```
Filter IPv6:
```json
{
"dnsInhibition": {
"locked": true
"value": "ipv6"
}
}
```
No filter:
```json
{
"dnsInhibition": {
"locked": true
"value": "none"
}
}
```
{{< /tab >}}
{{< /tabs >}}
## Networking features for Mac and Linux
### SSH agent forwarding
Docker Desktop for Mac and Linux lets you use the host’s SSH agent inside a container. To do this:
1. Bind mount the SSH agent socket by adding the following parameter to your `docker run` command:
```console
$--mount type=bind,src=/run/host-services/ssh-auth.sock,target=/run/host-services/ssh-auth.sock
```
2. Add the `SSH_AUTH_SOCK` environment variable in your container:
```console
$ -e SSH_AUTH_SOCK="/run/host-services/ssh-auth.sock"
```
To enable the SSH agent in Docker Compose, add the following flags to your service:
```yaml
services:
web:
image: nginx:alpine
volumes:
- type: bind
source: /run/host-services/ssh-auth.sock
target: /run/host-services/ssh-auth.sock
environment:
- SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock
```
## Known limitations
### Changing internal IP addresses
The internal IP addresses used by Docker can be changed from **Settings**. After changing IPs, you need to reset the Kubernetes cluster and to leave any active Swarm.
### There is no `docker0` bridge on the host
Because of the way networking is implemented in Docker Desktop, you cannot
see a `docker0` interface on the host. This interface is actually within the
virtual machine.
### I cannot ping my containers
Docker Desktop can't route traffic to Linux containers. However if you're a Windows user, you can
ping the Windows containers.
### Per-container IP addressing is not possible
This is because the Docker `bridge` network is not reachable from the host.
However if you are a Windows user, per-container IP addressing is possible with Windows containers.
## Use cases and workarounds