Sign inSign up

miebach/ungit

By miebach

Updated over 5 years ago

ungit - fork of https://hub.docker.com/r/mcrmonkey/ungit

Image
1

10K+

miebach/ungit repository overview

ungit-docker

Simple docker setup for ungit - https://github.com/FredrikNoren/ungit

Dockerhub: https://hub.docker.com/r/miebach/ungit

Github: https://github.com/miebach/ungit-docker

Starting

You can create a start script similar to this:

#!/bin/bash
LOCALREPOBASE=$HOME/myprojects # set to your base folder for local repositories

docker run -it --rm \
  -p 8448:8448 \
  -v $LOCALREPOBASE:/data \
  -v $HOME/.ssh:/home/node/.ssh \
  -v $HOME/.gitconfig:/home/node/.gitconfig \
  miebach/ungit

Adjust your variables in the script and run it.

Then go to http://127.0.0.1:8448 - you need to replace your local repository base directory from above with /data/ in the ungit gui in your browser. Example:

If you want to open your local repository /home/myaccount/myprojects/project1 you set $LOCALREPOBASE to /home/myaccount/myprojects you need to enter /data/project1 in the ungit gui in your browser.

Global git config

You can set your user data globally, the global git configuration is visible to the container.

Credits

Started as a fork of https://github.com/mcrmonkey/ungit

Tag summary

Content type

Image

Digest

Size

132.5 MB

Last updated

over 5 years ago

docker pull miebach/ungit