Dockerized Best-Effort Extent-Same btrfs deduplication agent. https://github.com/Zygo/bees
This image is based on Alpine Linux with bees agent from stable repositories.
Mount BTRFS root subvolume to /mnt for example like:
mount /dev/"device" /mnt -o subvol=/
adjust the docker-compose volumes section.
docker run -d --privileged -e HASH_TABLE=/mnt/.beeshome/beeshash.dat -e HASH_TABLE_SIZE=4G -e OPTIONS=-a -v /mnt:/mnt rylos/bees-docker
docker run -ti --privileged -e HASH_TABLE=/mnt/.beeshome/beeshash.dat -e HASH_TABLE_SIZE=4G -e OPTIONS=-a -v /mnt:/mnt rylos/bees-docker
services:
beesd:
container_name: beesd
image: rylos/bees-docker
privileged: true
restart: unless-stopped
hostname: beesd
environment:
- TZ=Europe/Rome
- HASH_TABLE=/mnt/.beeshome/beeshash.dat
- HASH_TABLE_SIZE=4G
- OPTIONS=-a
volumes:
- /mnt:/mnt