Skip to content

Commit

Permalink
17 pruning doesnt work as intended when running vorta as a container (#…
Browse files Browse the repository at this point in the history
…18)

* Add instructions on setting hostname to facilitate pruning
  • Loading branch information
Ranbato authored Aug 17, 2023
1 parent 763b36a commit d70df5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Currently using Vorta 0.8.12 release on jlesage/baseimage-gui:alpine-3.17-v4 ima

## Usage

Please note that it is highly recommended to set a `hostname` when running this container. This results in a consistent hostname for the container and allows the *prune* functionality to work correctly. If you do not set this, a random hostname will be generated by Docker and you will need to adjust the *prune* settings in the UI so that it doesn't use the hostname as a filter.

Using `docker-compose.yml`: (set TZ, USER_ID, and GROUP_ID in `.env`.)

```
Expand Down Expand Up @@ -35,6 +37,7 @@ $ mkdir config
$ podman run -it --rm -v ./config:/config \
-p 5900:5900 \
-e USER_ID=1028 -e GROUP_ID=100 \
--hostname vorta \
--uidmap=0:1:1028 --uidmap=1028:0:1 --uidmap=1029:1029:64507 \
ghcr.io/borgbase/vorta-docker:latest
```
Expand Down

0 comments on commit d70df5a

Please sign in to comment.