diff --git a/source/_includes/installation/container/cli.md b/source/_includes/installation/container/cli.md index d6c810e438ae..4cc80faa35ae 100644 --- a/source/_includes/installation/container/cli.md +++ b/source/_includes/installation/container/cli.md @@ -6,6 +6,7 @@ ```bash docker run --init -d \ --name homeassistant \ + --privileged \ --restart=unless-stopped \ -v /etc/localtime:/etc/localtime:ro \ -v /PATH_TO_YOUR_CONFIG:/config \ @@ -36,6 +37,7 @@ docker run --init -d \ --name homeassistant \ --restart=unless-stopped \ + --privileged \ -v /PATH_TO_YOUR_CONFIG:/config \ -v /etc/localtime:/etc/localtime:ro \ --network=host \ diff --git a/source/_includes/installation/container/compose.md b/source/_includes/installation/container/compose.md index eef41dceb71f..4663d3f90026 100644 --- a/source/_includes/installation/container/compose.md +++ b/source/_includes/installation/container/compose.md @@ -8,5 +8,6 @@ - /PATH_TO_YOUR_CONFIG:/config - /etc/localtime:/etc/localtime:ro restart: unless-stopped + privileged: true network_mode: host ``` \ No newline at end of file