Skip to content

feat: git clone commits and docker data dirs to work with zfs/overlayfs#77

Merged
skylenet merged 4 commits into
masterfrom
docker-datadirs
Feb 13, 2026
Merged

feat: git clone commits and docker data dirs to work with zfs/overlayfs#77
skylenet merged 4 commits into
masterfrom
docker-datadirs

Conversation

@skylenet
Copy link
Copy Markdown
Member

No description provided.

git clone --branch only accepts branch/tag names, not commit hashes,
causing fresh clones to fail in Docker where no repo cache exists.
Detect commit hashes and use git init + fetch + checkout instead.
Parse config files with yq to extract datadir source_dir values,
resolve each to its filesystem mountpoint via stat --format=%m,
deduplicate, and add --mount flags with bind-propagation=rshared
to the docker run command. This allows ZFS clones and overlayfs
mounts to propagate between the benchmarkoor container and sibling
client containers.

Also changes /tmp mount to use rshared propagation and upgrades
--cap-add=SYS_ADMIN to --privileged for ZFS/overlayfs support.
@skylenet skylenet merged commit 6efaae8 into master Feb 13, 2026
4 checks passed
@skylenet skylenet deleted the docker-datadirs branch February 13, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant