From 4d5127b5fea5514a6e3a2564831f33613223f7d2 Mon Sep 17 00:00:00 2001 From: Abinila Siva <163017635+abinila4@users.noreply.github.com> Date: Thu, 22 May 2025 16:19:47 -0400 Subject: [PATCH] Update docker-compose: add host gateway access --- docs/docs/frigate/installation.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/docs/frigate/installation.md b/docs/docs/frigate/installation.md index a7764a3fc..740ab2057 100644 --- a/docs/docs/frigate/installation.md +++ b/docs/docs/frigate/installation.md @@ -165,9 +165,16 @@ devices: - /dev/memx0 ``` -During the configuration process, you should run Docker in privileged mode. +During configuration, you must run Docker in privileged mode and ensure the container can access the host network gateway. -In `docker-compose.yml`, add: `privileged: true` +In your `docker-compose.yml`, also add: + +```yaml +privileged: true + +extra_hosts: + - "gateway.docker.internal:host-gateway" +``` If you can't use Docker Compose, you can run the container with something similar to this: