Sign inSign up

ffyzzy/git

By ffyzzy

•Updated about 4 years ago

git 容器化

Image
0

1.2K

ffyzzy/git repository overview

⁠使用方式

⁠链接公有仓库

docker run -it --rm --name git \

-v "$(pwd)":/git/repo ffyzzy/git \

git clone https://xxxx⁠

⁠链接私有仓库

docker run -it --rm --name git \

-v "$pwd":/git/repo \

-v "$(pwd)/id_rsa":/root/.ssh/id_rsa \

-v "$(pwd)/id_rsa.pub":/root/.ssh/id_rsa.pub \

ffyzzy/git git clone git@xxxx

Tag summary

Content type

Image

Digest

sha256:636e5b55f…

Size

14.9 MB

Last updated

about 4 years ago

docker pull ffyzzy/git