Skip to content

Commit bedbc24

Browse files
committed
2 parents 37344b9 + b97cc40 commit bedbc24

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If you value security, simplicity and optimizations to the extreme, then this im
3030
# COMPARISON 🏁
3131
Below you find a comparison between this image and the most used or original one.
3232

33-
| **image** | 11notes/adguard:0.107.64 | adguard/adguardhome:latest |
33+
| **image** | 11notes/adguard:0.107.64 | adguard/adguardhome |
3434
| ---: | :---: | :---: |
3535
| **image size on disk** | 11.4MB | 74.1MB |
3636
| **process UID/GID** | 1000/1000 | 0/0 |
@@ -111,16 +111,24 @@ clients:
111111
112112
# COMPOSE ✂️
113113
```yaml
114-
name: "adguard"
114+
name: "dns"
115+
116+
x-lockdown: &lockdown
117+
# prevents write access to the image itself
118+
read_only: true
119+
# prevents any process within the container to gain more privileges
120+
security_opt:
121+
- "no-new-privileges=true"
122+
115123
services:
116124
adguard:
117125
image: "11notes/adguard:0.107.64"
118-
read_only: true
126+
<<: *lockdown
119127
environment:
120128
TZ: "Europe/Zurich"
121129
volumes:
122-
- "etc:/adguard/etc"
123-
- "var:/adguard/var"
130+
- "adguard.etc:/adguard/etc"
131+
- "adguard.var:/adguard/var"
124132
tmpfs:
125133
# tmpfs volume because of read_only: true
126134
- "/adguard/run:uid=1000,gid=1000"
@@ -136,8 +144,8 @@ services:
136144
restart: "always"
137145

138146
volumes:
139-
etc:
140-
var:
147+
adguard.etc:
148+
adguard.var:
141149

142150
networks:
143151
frontend:
@@ -162,6 +170,7 @@ networks:
162170
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
163171

164172
* [0.107.64](https://hub.docker.com/r/11notes/adguard/tags?name=0.107.64)
173+
* [0.107.64-unraid](https://hub.docker.com/r/11notes/adguard/tags?name=0.107.64-unraid)
165174

166175
### There is no latest tag, what am I supposed to do about updates?
167176
It is of my opinion that the ```:latest``` tag is dangerous. Many times, I’ve introduced **breaking** changes to my images. This would have messed up everything for some people. If you don’t want to change the tag to the latest [semver](https://semver.org/), simply use the short versions of [semver](https://semver.org/). Instead of using ```:0.107.64``` you can use ```:0``` or ```:0.107```. Since on each new version these tags are updated to the latest version of the software, using them is identical to using ```:latest``` but at least fixed to a major or minor version.
@@ -175,6 +184,9 @@ docker pull ghcr.io/11notes/adguard:0.107.64
175184
docker pull quay.io/11notes/adguard:0.107.64
176185
```
177186
187+
# UNRAID VERSION 🟠
188+
This image supports unraid by default. Simply add **-unraid** to any tag and the image will run as 99:100 instead of 1000:1000 causing no issues on unraid. Enjoy.
189+
178190
# SOURCE 💾
179191
* [11notes/adguard](https://github.com/11notes/docker-ADGUARD)
180192
@@ -200,4 +212,4 @@ docker pull quay.io/11notes/adguard:0.107.64
200212
# ElevenNotes™️
201213
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the [releases](https://github.com/11notes/docker-adguard/releases) for breaking changes. If you have any problems with using this image simply raise an [issue](https://github.com/11notes/docker-adguard/issues), thanks. If you have a question or inputs please create a new [discussion](https://github.com/11notes/docker-adguard/discussions) instead of an issue. You can find all my other repositories on [github](https://github.com/11notes?tab=repositories).
202214
203-
*created 29.07.2025, 09:05:40 (CET)*
215+
*created 13.08.2025, 13:54:04 (CET)*

0 commit comments

Comments
 (0)