Sign inSign up

plocek/git

By plocek

•Updated almost 9 years ago

Container for executing git commands like git status, git pull, git push, ...

Image
0

244

plocek/git repository overview

⁠docker-git

⁠How to use this image

⁠Docker Run
docker run --rm \
	-v /some/absoult/path:/git-workdir \
	-v ~/.ssh:/root/.ssh \
	plocek/git \
	git status
⁠Docker-Compose

Use a docker-compose.yml file similar to this...

version: '3'

services:
  git:
    image: plocek/git
    volumes:
      - ./:/git-workdir
      - ~/.ssh:/root/.ssh

... and start it via

docker-compose run --rm git git status
``

Tag summary

Content type

Image

Digest

Size

15 MB

Last updated

almost 9 years ago

docker pull plocek/git