Sign inSign up

polinux/subgit

By polinux

•Updated about 9 years ago

SubGit in a Docker (Alpine + Java)

Image
2

50K+

polinux/subgit repository overview

⁠SubGit in a docker.

CircleCI Build Status GitHub Open Issues GitHub Stars GitHub Forks
Stars on Docker Hub Pulls on Docker Hub

Docker Image⁠ with SubGit. It's using tiny image provided by Alpine.

SubGit Website⁠

Purpose of this image was to simplify the process of using SubGit.

Workdir is set to /subgit

⁠Usage
docker run \
  -ti \
  --name subgit \
  polinux/subgit \
  subgit <subgit-commands>

Mount Volume into working directory

docker run \
  -ti \
  --name subgit \
  -v ${PWD}/workdir:/subgit \
  polinux/subgit \
  subgit <subgit-commands>
⁠Build
docker build -t polinux/subgit .

⁠Docker troubleshooting

Use docker command to see if all required containers are up and running:

$ docker ps

Check logs of subgit server container:

$ docker logs subgit

Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:

docker exec -ti subgit /bin/bash

History of an image and size of layers:

docker history --no-trunc=true polinux/subgit | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'

⁠Author

Przemyslaw Ozgo ([email protected]⁠)

Tag summary

Content type

Image

Digest

Size

74.2 MB

Last updated

about 9 years ago

docker pull polinux/subgit