tigerdockermediocore/duc-docker

By tigerdockermediocore

Updated 5 months ago

Dockerized duc with apache2, with some custom tweaks for managing multiple db files.

Image
1

10K+

tigerdockermediocore/duc-docker repository overview

duc-docker

Docker Pulls Automated build on Github Actions

Dockerized version of duc, a disk usage analyzer. See docker hub to pull the images.

This image has some tweaks to achieve my personal need, but everything is straightforward (see its github repo).

Usage

Apache CGI Server

By default, this image will just start up as an apache server for duc databases. Say you have two db files named one.db, and two.db in your host directoy /mydbs/ and a database file /home/myduc.db . Then running the following command

docker run -d -p 80:80 -v /mydbs/:/duc/db/:ro -v /home/myduc.db:/duc/.duc.db:ro tigerdockermediocore/duc-docker:latest

will provide following web pages

duc Indexing

Mount directories you want to index into /host with readonly property. For example,

docker run -d -v /home:/host/home:ro -v /media:/host/media:ro tigerdockermediocore/duc-docker:latest duc index /host

will index /home and /media, creating /duc/.duc.db inside the container. So don't forget to pull out the db file afterward!

References

Tag summary

Content type

Image

Digest

sha256:aeae40d07

Size

204.5 MB

Last updated

5 months ago

docker pull tigerdockermediocore/duc-docker