Skip to content

Commit

Permalink
Update local image name following pi-hole/docker-pi-hole#1628
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Warner <[email protected]>
  • Loading branch information
PromoFaux committed Aug 25, 2024
1 parent a686604 commit 86d1814
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/docker/build-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ Options:
-c, --corebranch <branch> Specify Core branch
-w, --webbranch <branch> Specify Web branch
-p, --paddbranch <branch> Specify PADD branch
-t, --tag <tag> Specify Docker image tag (default: pihole)
-t, --tag <tag> Specify Docker image tag (default: pihole:local)
-l, --local Use locally built FTL binary (requires src/pihole-FTL file)
use_cache Enable caching (by default --no-cache is used)
If no options are specified, the following command will be executed:
docker buildx build src/. --tag pihole --load --no-cache
docker buildx build src/. --tag pihole:local --load --no-cache
```

## Example uses of the script
Expand Down Expand Up @@ -64,16 +64,16 @@ git checkout fix/logRotate

## Using the built image

Unless otherwise named via the `-t` command, the script will build an image locally and tag it as `pihole`. You can reference this as a drop-in replacement for `pihole/pihole:latest` in your compose file or your run command:
Unless otherwise named via the `-t` command, the script will build an image locally and tag it as `pihole:local`. You can reference this as a drop-in replacement for `pihole/pihole:latest` in your compose file or your run command:

```yaml
services:
pihole:
container_name: pihole
image: pihole
image: pihole:local
...
```

```
docker run [options] pihole
docker run [options] pihole:local
```

0 comments on commit 86d1814

Please sign in to comment.