Live mirror a directory into a hyperdrive
1.4K
Source: https://gitlab.com/dcent-tech/drives-mirror-docker
docker run --mount type=bind,source=<dir-to-mirror>,destination=/home/mirror/publish,readonly --mount type=volume,source=mirror-volume,destination=/home/mirror/data --network host hdegroote/dir-to-hyperdrive-mirror
Replacing <dir-to-mirror> with the path of a directory on your own machine.
--network host is optional: it just gets rid of some edge cases in the connectivity layer (hyperdht)
The hyperdrive's public key will be logged. The key will persist across restarts (assuming the /home/mirror/data uses a volume)
Content type
Image
Digest
sha256:8e8ff1b7a…
Size
70.8 MB
Last updated
almost 2 years ago
docker pull hdegroote/dir-to-hyperdrive-mirror