Update web_search.md

remove docker.io/
This commit is contained in:
Silentoplayz 2024-12-26 13:52:17 -05:00
parent 6cc9d4f258
commit c3874dc308

View File

@ -286,7 +286,7 @@ Next, add the following to SearXNG's `docker-compose.yaml` file:
services:
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
image: searxng/searxng:latest
ports:
- "8080:8080"
volumes:
@ -321,7 +321,7 @@ On the first run, you must remove `cap_drop: - ALL` from the `docker-compose.yam
Alternatively, you can run SearXNG directly using `docker run`:
```bash
docker run --name searxng --env-file .env -v ./searxng:/etc/searxng:rw -p 8080:8080 --restart unless-stopped --cap-drop ALL --cap-add CHOWN --cap-add SETGID --cap-add SETUID --cap-add DAC_OVERRIDE --log-driver json-file --log-opt max-size=1m,max-file=1 docker.io/searxng/searxng:latest
docker run --name searxng --env-file .env -v ./searxng:/etc/searxng:rw -p 8080:8080 --restart unless-stopped --cap-drop ALL --cap-add CHOWN --cap-add SETGID --cap-add SETUID --cap-add DAC_OVERRIDE --log-driver json-file --log-opt max-size=1m,max-file=1 searxng/searxng:latest
```
## 3. Confirm Connectivity