docker-debian-repository
docker-debian-repository copied to clipboard
Database stored in non-persistent filespace?
Reading the reprepro manpage, the default database is +b/db
which is relative to basedir, which is /var/lib/reprepro
.
However the Dockerfile specifies VOLUMEs as /docker/keys
and /docker/incoming
so it looks like /var/lib/reprepro
is not persisted across multiple starts of the image, which looks pretty wrong. The manpage for reprepro says "One has almost to regenerate the whole repository when this is lost."
I suggest moving the database and any other modified files into persistent data volumes.