docker-debian-repository icon indicating copy to clipboard operation
docker-debian-repository copied to clipboard

Database stored in non-persistent filespace?

Open nickandrew opened this issue 10 years ago • 0 comments

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.

nickandrew avatar Nov 13 '14 15:11 nickandrew