mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-29 22:00:27 +00:00
feat: Low-Privileged and Distroless Docker Image (#372)
* feat: use distroless image and non-root user * fix: remove conflicts after merge * chore: Commen the Dockerfile * chore: Update documentation to reflect image changes * Split docker build in latest and latest-rootless One more job added to the publish Github Action, to build and push TAG-rootless images. * fix: add missing workflow * feat: update documentation about double tags * feat: update readme with double tags --------- Co-authored-by: daniele <daniele@coolbyte.eu>
This commit is contained in:
parent
56c98e6e3a
commit
66e25ba068
4 changed files with 86 additions and 1 deletions
|
@ -16,6 +16,10 @@
|
|||
[Configuration & Docker Compose](https://hay-kot.github.io/homebox/quick-start)
|
||||
|
||||
```bash
|
||||
# If using the rootless image, ensure data
|
||||
# folder has correct permissions
|
||||
mkdir -p /path/to/data/folder
|
||||
chown 65532:65532 -R /path/to/data/folder
|
||||
docker run -d \
|
||||
--name homebox \
|
||||
--restart unless-stopped \
|
||||
|
@ -23,6 +27,7 @@ docker run -d \
|
|||
--env TZ=Europe/Bucharest \
|
||||
--volume /path/to/data/folder/:/data \
|
||||
ghcr.io/hay-kot/homebox:latest
|
||||
# ghcr.io/hay-kot/homebox:latest-rootless
|
||||
```
|
||||
|
||||
## Credits
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue