You will need to create a local git-crypt executable for this to work transparently:
cat > /usr/local/bin/git-crypt <<CONTENT
#!/bin/bash -e
exec docker run -it -v \$(pwd):/repo -v ~/.gnupg:/root/.gnupg -w /repo crohr/git-crypt git-crypt "\$@"
CONTENT
chmod a+x /usr/local/bin/git-crypt
Content type
Image
Digest
sha256:3e6ea0c97…
Size
146 MB
Last updated
almost 11 years ago
docker pull crohr/git-crypt