ungit - fork of https://hub.docker.com/r/mcrmonkey/ungit
10K+
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
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.
You can set your user data globally, the global git configuration is visible to the container.
Started as a fork of https://github.com/mcrmonkey/ungit
Content type
Image
Digest
Size
132.5 MB
Last updated
over 5 years ago
docker pull miebach/ungit